Add to your macro a statement like this:
theItem.Move theFolder
were theFolder is a MAPIFolder object representing the target folder. To get a non-default folder, you need to walk the folder hierarchy using the Folders collections or use a function that does that for you. See
http://www.outlookcode.com/d/code/getfolder.htm
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"Jeena" wrote in message ...
hi,
i have a macro which runs for every new mail that is recieved. but this
happens on the exchanger server inbox using the newmail event. Once the macro
is run on the mail, i need to move the same mailitem to the pst inbox.
Could any1 help me with the same......