View Single Post
  #6  
Old May 23rd 13, 07:16 AM
RobbyStuart RobbyStuart is offline
Junior Member
 
First recorded activity at Outlookbanter: May 2013
Posts: 1
Default

Quote:
Originally Posted by middoabs View Post
Thanks Michael, it works a treat.
Regards....middoabs

"Michael Bauer [MVP - Outlook]" wrote:



Open the Outlook VBA editor (alt+f11), the n the modul "ThisOutlookSession"
and paste this:

Private Sub Application_Startup()

End Sub

That will be executed on startup if macros are enabled
(Tools/Macros/Security).

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool:
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Wed, 21 May 2008 23:28:09 -0700 schrieb middoabs:

Thank you Michael, but i'm pretty new at this & not sure how to do that.
Could you please elaborate.

Regards.....Peter(middoabs)

"Michael Bauer [MVP - Outlook]" wrote:



Iin Outlook use the Application_Startup event for that.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool:
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Wed, 21 May 2008 21:18:00 -0700 schrieb middoabs:

I have written a macro to run a .pps file and would like to know If &

How
I
can configure Outlook 2003 to automatically run the macro at startup.

I would also like to use this autorun macro but need a bit more detail on where to type the private sub macro noted above.

I currently have my macro which runs a search in Module 1 under Project 1 in VB editor.

Where do I put the startup code? Do I include my existing code in it too or leave it where it is?

Thanks
Ads