Run Macro as Rule

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have written my VBA (off the web!) which strips off an attachment, how do
I get
this to run as a rule. I need the macro to run when I recieve an email with
a certain subject field.

Many thanks
 
this is the format of a VBA procedure that can be invoked from the Outlook
2002/3 "run a script" rule action:

Sub MyProc(MyMail as MailItem)
' your code to work with MyMail
End SUb
 
Back
Top