View Single Post
  #1  
Old March 28th 07, 09:10 PM posted to microsoft.public.outlook.program_vba
John Lane
external usenet poster
 
Posts: 26
Default How Do I Get Outlook Startup Event to Fire?

Below is the code for a message box for the Start Event (right out of the
example). Nothing happens. The code is in
ThisOutlookSession/Application/Start. Any ideas? Thanks.

Private Sub Application_Startup()
MsgBox "Welcome, " & Application.GetNamespace("MAPI").CurrentUser
Application.ActiveExplorer.WindowState = olMaximized
End Sub
Ads