XLL 插件菜单不会自动加载
我编写了一个包含菜单的小型 XLL 插件 (VS2010 VC++/Excel 2007)。 它已正确注册(使用加载项管理器查看),但当我打开 Excel 工作簿(.xlsb)时,菜单未显示。每次打开工作簿时,我都必须再次手动加载它(Excel 选项 -> 加载项 -> Excel 加载项 -> 转到 -> 浏览)。
我对另一个没有菜单(只有用户定义函数)的 XLL(VS2010 VC++/Excel 2007)没有任何问题。
我曾经能够在双击 XLL 时显示菜单(但现在不行了)。 XLL只是一个调试版本(我想我与发布版本有同样的问题)
我已经在谷歌上搜索了一段时间,但没有找到明确的答案。
任何答案、经验回报、提示等......将不胜感激 谢谢 N
PS:我的情况与XLL 无法正确加载的情况不同。我的 xlAutoOpen 工作正常
I wrote a small XLL Add-in (VS2010 VC++/Excel 2007) containing a menu.
It's correctly registered (seen with the Add-In Manager) but the menu doesn't show up when I open my excel workbook (a .xlsb). I have to again load it manually (Excel Options -> Add-Ins -> Excel Add-In -> Go -> Browse) each time i open the workbook.
I have no trouble with another XLL (VS2010 VC++/Excel 2007) which has NO menu (just User Defined Functions).
I was once able to have the menu showing up on double-clicking the XLL (but not anymore).
The XLL is a Debug version only (I think I have the same problem with a Release version)
I have been googling around for some times, but found no definite answer.
Any answer, return of experience, hints etc ... would be greatly appreciated
Thanks
N
PS: Am not in the same case as XLL doesn't properly load. My xlAutoOpen works fine
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这里有一个示例显示如何添加和删除菜单:http://nxll。 codeplex.com/SourceControl/changeset/view/10265#144179
它使用 http://nxll.codeplex.com 以简化加载项的编写。
There is an example showing how to add and delete menus here: http://nxll.codeplex.com/SourceControl/changeset/view/10265#144179
It uses http://nxll.codeplex.com to simplify writing add-ins.