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" <cholotron RemoveThis @hotmail.com> wrote in message
news:e2JtTLYBKHA.1376@TK2MSFTNGP02.phx.gbl...
>I would like to run a macro every time i receive a email
> from an especific user
>
> if Barack_Obama RemoveThis @gov.usa.org then
> msgbox "You got Mail!"
> else
> 'do nothing
> end if
>
> Can it be done?
>
> Thank you all
>