问题描述
我有一个带有自己的功能区的加载项,该功能区在Excel在线中正常运行,但在Windows的Excel中却不显示功能区[1].在那里,它仅显示默认任务窗格.
I have an Add-In with its own Ribbon that works fine in Excel online but does not show the Ribbon in Excel on Windows [1]. There, it only shows the default task-pane.
为确保它与我自己的清单无关,我使用OfficeDev简单的Sample清单[2]对此进行了验证.我对xml文件所做的仅有的两次修改就是用Workbook替换了2个Document实例.
To make sure it does not have to do with my own manifest, I verified this with the OfficeDev simple Sample manifest [2]. The only two modifications I did to the xml file are replacing 2 instances of Document with Workbook.
此外,我已经在两台计算机上对此进行了验证.
Also, I have verified this on two computers.
为什么会这样?
[1] Windows 10上的Microsoft Excel 2016 MSO(16.0.4266.1003)32位[2] https://github.com/OfficeDev/Office-Add-in-Commands-Samples/blob/master/Simple/Manifest/SimpleAddin.xml
[1] Microsoft Excel 2016 MSO (16.0.4266.1003) 32-Bit on Windows 10[2] https://github.com/OfficeDev/Office-Add-in-Commands-Samples/blob/master/Simple/Manifest/SimpleAddin.xml
推荐答案
我相信您的Excel版本不支持加载项命令.在Excel和Word中,您将在16.0.6769.0000或更高版本中看到加载项命令.
I believe that your build of Excel doesn't support add-in commands. You'll see add-in commands after 16.0.6769.0000 or later in Excel and Word.
这篇关于加载项命令功能区显示在Excel Online中,但在Excel for Windows中不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!