Thread
:
Run a macro
View Single Post
#
2
July 15th 09, 08:47 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP][_3_]
external usenet poster
Posts: 465
Run a macro
If you restructure your macro to be a subroutine with a MailItem argument,
you can use the "run a script" rule approach or any of the event handlers
described at
http://www.outlookcode.com/article.aspx?id=62
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"Bre-x" wrote in message
...
I would like to run a macro every time i receive a email
from an especific user
if
then
msgbox "You got Mail!"
else
'do nothing
end if
Can it be done?
Thank you all
Sue Mosher [MVP][_3_]
View Public Profile
View message headers
Find all posts by Sue Mosher [MVP][_3_]
Find all threads started by Sue Mosher [MVP][_3_]
Ads