A macro cannot access a private variable declared in an add-in.
That puts you in a pretty difficult position.
One option would be to contact the author of the add-in and ask them to do one of the following:
- Expose a specific function
- Implement the automation functionality you need
- Or sell/give you the source code
Another option could be to decompile - but you should check the license of this add-in to see if it's legal. Then add the functionality that you need. However check the license first and terms/conditions. There are situations for older plugins where the author could have lost the original source code or where they give you permission because they don't care anymore.
Have a look at the following: Possible to view source code or decompile XLL Excel add in
Also have a look at the following which details an example of how to call an excel-add-in function from vba: Call Excel Add-In function in macro and specifically https://stackoverflow.com/a/35518426/1688441