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


Guest


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?
Posted 04 Jul, 2006 07:55:11 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
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


Guest


Thanks

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


Add-in Express team


Posts: 7233
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