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

2019-05-29 11:04发布

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: enter image description here

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.

标签: c++ excel mfc com atl
1条回答
等我变得足够好
2楼-- · 2019-05-29 11:30

I've implemented the add-in by following this article

查看更多
登录 后发表回答