XLL 插件菜单不会自动加载

发布于 2024-12-13 07:21:10 字数 514 浏览 3 评论 0原文

我编写了一个包含菜单的小型 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦过后 2024-12-20 07:21:10

这里有一个示例显示如何添加和删除菜单: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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文