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.
Does any other VBA code run? Did you check your Tools | Macro | Security setting?

Signature
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
>I created a test script and built a rule to fire the script on all messages.
> It still does not seem to fire.
[quoted text clipped - 13 lines]
>
> Please advise.
VB Novice - 20 Sep 2005 03:40 GMT
Thank you for your help. This was exactly my problem...
> Does any other VBA code run? Did you check your Tools | Macro | Security setting?
>
[quoted text clipped - 15 lines]
> >
> > Please advise.