"Rules and Alerts" script does not fire

G

Guest

I created a test script and built a rule to fire the script on all messages.
It still does not seem to fire.

When going to "Tools"->"Rules and Alerts"->"Run Rules Now", the description
of the rule says:
Apply to message
on this machine only
run "Project1.ExtractMessage2"

The script is:
Public Sub ExtractMessage2(Item As MailItem)
Open "c:\hello.txt" For Output As 1
Print #1, "hello world"
Close #1
End Sub

Please advise.
 
S

Sue Mosher [MVP-Outlook]

Does any other VBA code run? Did you check your Tools | Macro | Security setting?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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