application startup?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to create a macro that begins automatically upon startup in Outlook, similar to AutoExec in Access and Auto_Open in Excel. Is there a comparable routine for Outlook?

Please email me your responses to (e-mail address removed)

Thanks

Ariel
 
Application_Startup
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Ariel said:
I would like to create a macro that begins automatically upon startup in
Outlook, similar to AutoExec in Access and Auto_Open in Excel. Is there a
comparable routine for Outlook?
 
I have tried application_startup, but it doesn't seem to work. I even
tried creating a simple msgbox to popup upon startup, without success.

Is there anything else I need to do in addition to this in order to get
it to operate correctly?

Thanks

Ariel
 
Application_Startup is the correct event handoler. Did you check your macro
security setting?

The newsgroup interface at Developersdex (http://www.developersdex.com) does
not automatically quote the text of the original message when you post a
reply. Please take the time to quote the original message manually so that
people reading your current response can understand what you're talking
about. Otherwise, you may not receive the answer you're looking for.

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Yes, the security is set to low so that should not be a problem. Is
there something that I need to set up in the Class Module in order for
this to run?

In Excel, you only need to designate a sub routine as Auto_Open () to
get it to run. Any ideas why a simple startup macro in Outlook does not
work?

Thanks for your help!

Ariel
 
There is nothing to set up. Did you build the event handler from the
drop-down lists of objects and events?

The newsgroup interface at Developersdex (http://www.developersdex.com) does
not automatically quote the text of the original message when you post a
reply. Please take the time to quote the original message manually so that
people reading your current response can understand what you're talking
about. Otherwise, you may not receive the answer you're looking for.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Well I got it to work. Unfortunately, it doesn't work every time???? Do
you have an idea why that is?
 
Back
Top