how to create a macro that runs on startup in outlook

M

Michael Bauer

Hi Graham,

it is the event Application_Startup you´re looking for.

--
Viele Grüße
Michael Bauer


Graham said:
how do i attatch vba code that runs automatically when outlook fires
up ?
 
G

Graham

Michael
Thanks for this. I have tried to use the event but without success. I don't
suppose you or anyone else have a few lines of sample code that I could check
against.
Graham
 
M

Michael Bauer

Hi Graham,

Private Sub Application_Startup()
' your code goes here
End Sub

That´s all; please copy the few lines in the modul "ThisOutlookSession".
 
Top