From external programms to run a procedure in a OutLook VBA?

  • Thread starter Thread starter NilovSerge
  • Start date Start date
N

NilovSerge

Hallo!
Word and Excel VBA Application object have very usefull method "Run"
So connecting from
external programm to Word/Excel I could use something like
...
ExcelObject.Run( 'ProcName',Param1,Param2... )
I didn't find something like this in VBA Outlook
If in VBA Outlook I can from external programms to run a procedure i
a OutLook VBA
 
Outlook has no equivalent. However, if a procedure has been declared Public
in the ThisOutlookSession module, and you instantiate an Outlook.Application
object (call it, say, objOL), you should be able to run the procedure as
OL.MyProcedure. Note, however, that this technique is unsupported.
 
Back
Top