Forum Discussion
Sameer_Kuppanath_Sultan
Nov 24, 2020Brass Contributor
VBA - Moving a mail from inbox to a specific folder
Hi every One, greetings I have to do the following. I need a vba for, moving a mail in outlook inbox to a specified folder in outlook based on either Sender name or sender mail or mail subjec...
NikolinoDE
Nov 25, 2020Platinum Contributor
I think that this will solve your problem.
MailItem.Move method (Outlook)
https://docs.microsoft.com/en-us/office/vba/api/outlook.mailitem.move
Thank you for your understanding and patience
Wish you a nice day.
Nikolino
I know I don't know anything (Socrates)
Sameer_Kuppanath_Sultan
Nov 25, 2020Brass Contributor
I tried that, but showing the below screen shot and yellow highlighted the code below.
Please note: I did it in Excel VBA