Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / September 2005

Tip: Looking for answers? Try searching our database.

"Rules and Alerts" script does not fire

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
VB Novice - 17 Sep 2005 00:36 GMT
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.
Sue Mosher [MVP-Outlook] - 17 Sep 2005 20:45 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.