在文档加载时使Office加载项任务窗格保持打开状态

在文档加载时使Office加载项任务窗格保持打开状态

问题描述:

我有一个任务窗格(桌面)Office加载项,该加载项内置了最新的VS 2015模板,用于Excel和Word加载项.当我打开文件时,加载项任务窗格不可见.我的用户需要单击工具栏上的一个按钮才能打开它,他们抱怨.

I have a task pane (desktop) Office add-in built with the latest VS 2015 template for Excel and Word add-ins. When I open the file, the add-in task pane is not visible. My users need to click a button on the toolbar to open it, which they complain about.

此外,我保存了扩展了任务窗格的文档,但它不会影响该行为.我记得加载项清单的先前版本(当它被称为Office应用程序时)保持窗格处于打开状态,但我对其进行了升级,以便可以在Office功能区中使用自定义选项卡.

In addition, I save the document with the task pane expanded but it does not affect that behavior. I remember a previous version of the add-in manifest (when it was called app for Office) kept the pane open but I upgraded it so I can use custom tabs in the Office ribbon.

加载文档或工作表时,可以使任务窗格保持展开状态吗?

Can I make the task pane stay expanded when the document or worksheet load?

现在可以执行此操作: Office OOXML EmbedAddin

There is now a way to do this: Automatically open a task pane with a document. And a sample at: Office OOXML EmbedAddin