How to implement a simple add-in for MS Excel on C++

社会主义新天地 提交于 2019-12-07 16:23:32

问题


I need a help for implementing add-in for Excel 2010 or higher on C++, the only functionality of this add-in is renaming of current Excel sheet.

The add-in should create new custom tab on the Ribbon with name: “Test Add-in”, this tab contains group with name “My Functionality”, this group contains large button with some picture with name “Rename Current Sheet”. After clicking on the button, I should show the following dialog:

User can enter new name, click ok and after this, the name of current sheet will be changed.

I understand that I need to use #import directive for getting references to Office API, use ATL to wrap COM objects, MFC or WTL to create dialog, but I I'm not opposed to using the mentioned methodologies.

来源:https://stackoverflow.com/questions/42068726/how-to-implement-a-simple-add-in-for-ms-excel-on-c

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!