how run VB automatic upon start?

G

Guest

Thanks for any help.
I have a macro that opens a new message, I would like to run it
automatically when I start Outlook-is this possible?
I tried:
Private Sub Application_Startup()
blah blah
End Sub
and put in Module 1 and in ThisOutlookSession
But now I get a message saying macros are disabled.
Before I did that, I used F8 to run the macro, and I was able to.
Thanks very much.
 
M

Michael Bauer

Am Mon, 19 Dec 2005 18:00:02 -0800 schrieb Ian Elliott:

You need to set the macro security to a level that allows code execution
(medium or low) or create a certificate for your VBA project.
 

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