View Single Post
  #12  
Old March 9th 10, 01:14 AM posted to microsoft.public.outlook.program_vba
DLGolfs
external usenet poster
 
Posts: 25
Default Create a macro in Outlook to run a rule

By the way, I made sure the changed was saved, closed OUtlook, then opened
it, enabled the macros and tried to run it.
I made sure I was in the file it is suppose to run the rule.

But nothing happened, no errors

"Ken Slovak - [MVP - Outlook]" wrote:

A module is a code module.

Sorry, that line should have been:

Set colRules = oStore.GetRules()

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"DLGolfs" wrote in message
...
There is no code module only class module and module, so I used module.

cut and pasted, then ran and got run time error 438, Object does not
support
property or method,
then it higlights this line:
Set colRules = oStore.Rules


.

Ads