Application_startup will not work

D

dantroppmann

Hello:


In the "thisoutlooksession" module I put this sub

Private Sub application_Startup()
MsgBox "The Hunt Has Begun!"

End Sub

Saved the project and restarted Outlook(2000 by the way). Seems simple,
but the message box does not appear. Also the marco security prompt
does not present it's self until I launch the editor/macro.

Any thoughts will be quite welcome.
 
M

Michael Bauer

Am 23 Feb 2006 13:53:28 -0800 schrieb (e-mail address removed):

What is your security setting, is it medium or low?
 
D

dantroppmann

The security setting is medium. But, the security prompt "Macro's
enable/disable" doesn't present it's self until after the Outlook
application is launched and a macro or the editor is manually
entertained.
 
M

Michael Bauer

Am 24 Feb 2006 08:07:35 -0800 schrieb (e-mail address removed):

Think, I´ve found the solution: The "A" of Application must be an upper
case.

BTW: You don´t need to type any event procedure declaration manually. Just
select the object from the left hand Combobox and then one of its events
from the right one.
 

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