Question

CJ1234567891011 on Fri, 07 Oct 2016 01:29:34


All,

We have a shared mailbox and would like to have the Receptionist use a macro that will forward the email and once she forwards the email it will then move the email from the inbox to a "Processed" Folder.

The forwarding should allow her to enter multiple email addresses.

Thanks For any help provided.


Sponsored



Replies

Asadulla Javed on Fri, 07 Oct 2016 17:38:29


If possible, pls move this post Outlook Developer Forum.

Tao Zhou - MSFT on Wed, 12 Oct 2016 08:13:03


Hi CJ,

To achieve your requirement, I think you could try below code.

Sub ForwardEmail()
Dim objMsg As MailItem
Set objMsg = ActiveExplorer.Selection(1)
Set objForward = objMsg.Forward
objForward.Display
objMsg.Move GetNamespace("MAPI").Folders("xx@microsoft.com").Folders("Inbox").Folders("Processed") 'the foler path you want to move to
End Sub

Best Regards,

Edward