I would like to have a VBA function run as soon as Outlook starts up. Is this possible and if so, what do I need to do? My searches on Google have failed me.
I don't mind that the security alert will pop up.
I would like to have a VBA function run as soon as Outlook starts up. Is this possible and if so, what do I need to do? My searches on Google have failed me.
I don't mind that the security alert will pop up.
Use the Application_Startup
event in ThisOutlookSession
:
Private Sub Application_Startup()
MsgBox "Foo"
End Sub