Calling routines in ADX from VBA

Add-in Express™ Support Service
That's what is more important than anything else

Calling routines in ADX from VBA
Use VBA as a preprocessor to call COM add-in routines 
Roger Middlebrook




Posts: 98
Joined: 2004-08-24
For various reasons, I would like to be able to call routines in my COM add-in from Word VBA. Do I simply use standard DLL calls?
it may be unhelpful, but it's all I've got...
Posted 04 Jul, 2006 07:55:11 Top
Sergey Grischenko


Add-in Express team


Posts: 7235
Joined: 2004-07-05
Hi Roger.

You can use the COMAddin.Object property to access a COM add-in from VBA.
Posted 04 Jul, 2006 08:32:50 Top
Roger Middlebrook




Posts: 98
Joined: 2004-08-24
Thanks

I presume then that I can call any routines that are defined in the add-in's type library. Is that correct?
it may be unhelpful, but it's all I've got...
Posted 04 Jul, 2006 08:36:25 Top
Sergey Grischenko


Add-in Express team


Posts: 7235
Joined: 2004-07-05
Yes, correct. But in case of using the C++ shim you will get an instance of ADXRemoteObject class in the COMAddin.Object property.
Posted 04 Jul, 2006 08:55:16 Top