Microsoft Visual Basic code has lost function in Outlook 2007

G

Gary Grathen

A couple weeks ago, Roady and Michael Bauer answered my question as to how to
input VBA code to prompt Outlook to ask me in which folder to store an e-mail
when I send it.

It worked on one day, however on the 2nd day it did not. I tried to remove
and input the code again, without success.

Can anyone provide advice on how to re-enable the VBA code?

Thanks much.

Gary Grathen
Ormond Beach, FL
 
A

Alan Moseley

Check your Outlook Macro Security settings. If Macros have been disabled
this would prevent your VBA from running.
 
G

Gary Grathen

Thanks Alan, however the VBA function did not work even after I disabled all
macro security.
 
A

Alan Moseley

So you did actually have to switch off the security then? If this is the
case then did you try it again AFTER restarting Outlook?

Did you type the function code into the ThisOutlookSession code window?
 
G

Gary Grathen

Alan, yes I dd switch off security and rebooted.

I also typed the function code into the appropriate window.

For some reason, it worked one day but not the next.

Thanks.
 
Top