Agile Central: Excel add-in - Can we use the add-in functions in an Excel Macro?

Document ID : KB000106121
Last Modified Date : 12/07/2018
Show Technical Document Details
Question:
We would like to embed the Excel add-in queries in an Excel Macro. Can this be done?
Answer:
Unfortunately not. This can not be done.

The Excel Add-in is a COM Add-in. It does not expose its classes and methods publicly. Therefore it can not be included as part of the VBA references libraries in Excel and hence can not be instantiated by code. Specifically it can not be included in VBA scripts, functions including Excel Macro (which are VBA scripts).