A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How Do I Get Outlook Startup Event to Fire?



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old March 28th 07, 09:18 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?

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.

"John Lane" wrote:

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

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
(VSTO SE) folder.Items.ItemAdd Event does not fire David Outlook and VBA 5 March 7th 07 09:41 PM
Word editor does not fire Shutdown event toni santa Outlook and VBA 1 February 2nd 07 08:28 PM
ItemAdd in Deleted Items event doesnt fire after a while [email protected] Add-ins for Outlook 11 January 8th 07 09:27 AM
How to fire NewMail&NewMailEx Event? baryon Outlook - General Queries 0 August 17th 06 05:31 PM
script event does not fire urs Outlook - General Queries 2 March 1st 06 05:55 PM


All times are GMT +1. The time now is 08:41 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.