How Do I Get Outlook Startup Event to Fire?

G

Guest

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
 
G

Guest

Never mind. yes it did. I have it in a custom form. I didn't realize by just
being in the custom form, even though it isn't launched, causes the standard
form to display the message too.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top