是否可以编写一个同时适用于 Excel 2003 和 2007 的插件?
我一直在为 Excel 2003 编写一个共享插件。它添加了一个菜单 (CommandBarPopup) 和几个菜单项 (CommandBarButton),单击这些菜单项会打开一个 WPF 窗口以读取几个值并操作工作表。
有没有办法编写它,以便它也可以在 Office 2007/2010 中工作,或者这是不可能的?
如果是这样,任何人都可以提供如何完成的说明吗?
I've been writing a shared addin for Excel 2003. It adds a menu (CommandBarPopup) and a couple menu items off it (CommandBarButton) that when clicked open a WPF window to read a couple values and manipulate the worksheet.
Is there a way to write it so that it would work in office 2007/2010 as well, or is it impossible?
If so, can anyone provide instructions for how that is done?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MS-Office 库具有很好的向后兼容性,因此您的插件应该可以在未来版本中正常工作。
至少对于命令栏按钮和弹出窗口来说,这确实不应该成为问题。如果您要做更困难的事情,我强烈推荐 Add-in Express(抱歉打广告,我只是一个满意的客户;-))
Pz,TaskConnect 开发人员
MS-Office libraries are quite well back-compatible, so your addins should work in future version just as they are.
This really shouldn't be trouble at least for commandbarbuttons and popups. If you're about to do something harder, I strongly recommend Add-in Express (sorry for advertising, I am just a satisfied customer ;-) )
Pz, the TaskConnect developer