create Task Pane in MS Office COM add-in using C++

Shabari Pragash 126 Reputation points
2022-03-24T19:26:13.26+00:00

I have created a COM add-in for MS Office using C++. Now I like to add a Task Pane UI to MS Office. I came to know about ICustomTaskPaneConsumer interface and tried to implement it. But documentation is less.

Kindly share some documentation and some sample project codes. Thanks.

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,541 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,011 questions
Word Management
Word Management
Word: A family of Microsoft word processing software products for creating web, email, and print documents.Management: The act or process of organizing, handling, directing or controlling something.
896 questions
PowerPoint Management
PowerPoint Management
PowerPoint: A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.Management: The act or process of organizing, handling, directing or controlling something.
221 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,646 questions
{count} votes

Accepted answer
  1. RLWA32 40,756 Reputation points
    2022-03-25T14:50:37.53+00:00

    The documentation for C++ is virtually non-existent. However, I managed to piece together a skeleton C++ Add-in that creates and displays a Task Pane in Excel. The solution contains 2 projects - the addin and an activex control. The projects are configured so that COM registration will be performed per-use when building. It was developed using the 64-bit version of Office 2013 and VS2015. The barest minimum was done to create and show the Task Pane so at best it is a starting point. You can download the project from OneDrive https://1drv.ms/u/s!AmnqrCFBv4nDghcZwI3yqeTaOcBR?e=psnZ44

    Com Addins per Excel -

    187022-comaddin.png

    Task Pane shown in Excel -

    186945-tpane.png


0 additional answers

Sort by: Most helpful