Updating networked users contact lists

  • Thread starter Thread starter nkay
  • Start date Start date
N

nkay

Only a basic question

I want to trigger a macro to run in my outlook from a form event

eg

Function Item_Close()

'Run macro here

End Function


I also want to run another macro that is triggered by Outlook startin
up.

Does anybody have any sample code or pointers they could give me ?

cheers Nige
 
Function Item_Close()
Application.MyMacro
End Function

MyMacro must be a public subroutine in the ThisOutlookSession module. Also
note that this technique is officially unsupported.

For a startup macro, use the Application_Startup event handler built into
ThisOutlookSession.
 
Back
Top