Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enable Macro usage in Outlook 2007 1

Status
Not open for further replies.

markdmac

MIS
Dec 20, 2003
12,340
US
Hi everyone, wondering if anyone knows how to overcome this Office "feature" I am battling.

I have created a macro that empties the Junk Email folder in Outlook. I'm using Outlook 2007. I created a button to run the macro and it works great. The problem is that the first time it is run it requires you to "enable content." Not so bad except that you must enable each time Outlook is started.

Is there any way to authorize specific macros?

I think that maybe I need a code signing certificate and wonder if there is any way to auto generate one for my own personal use so I don't have to pay huge sums of money for a certificate.

Any advice would be greatly appreciated.

Regards,

Mark
 
To supress alerts try the following at the beginning of your macro:

Application.DisplayAlerts = wdAlertsNone

Then reset this value at the end of the macro:

Application.DisplayAlerts = wdAlertsAll


Try looking at thread68-820546 for signing certificate.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top