一个 RibbonX 用于多个 Excel 2007 工作簿
我有一个 Excel 2003 VBA 解决方案,正在转换为 Excel 2007。该解决方案具有大量在多个工作簿之间使用的菜单。我创建了 RibbonX 来复制此功能,但现在我想让我的功能区显示在所有这些工作簿上。我该怎么办?当我从一本工作簿切换到另一本工作簿时,功能区消失。需要明确的是,这不是一个 VSTO 解决方案,它是带有 VBA 的直接 Excel。我希望您不必将 RibbonX 放入每个工作簿中。
I have an Excel 2003 VBA solution I'm converting to Excel 2007. The solution had a large collection of menus that were used between multiple workbooks. I've created RibbonX to replicate this functionality, but now I'm to the point where I want to make my Ribbon show up on all these workbooks. How do I go about this? When I switch from one workbook to another the Ribbon disappears. This isn't a VSTO solution just to be clear it is straight Excel with VBA. I'm hopeful you don't have to put the RibbonX into each workbook.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要将其另存为加载项 (.xlam),然后其他用户可以添加该加载项。这将使其对所有工作簿可见。
You need to save it as an add-in (.xlam), which can then be added by other users. This will keep it visible for all workbooks.