Forum Discussion
VBA - Moving a mail from inbox to a specific folder
Hey Master Minds
Please help me on this.
Just to describe again,
I have attached the code herewith-please find it.
this code will help me to save the attachment from outlook to a specific folder in my PC.
What I need is, to move the selected mail in outlook inbox to a folder in outlook after clicking this VBA.
So ultimately, I will save the attachment and will move this mail to a folder in outlook. so no mails inbox to attend!!!!
- NikolinoDENov 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_SultanNov 26, 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
- NikolinoDENov 26, 2020Platinum Contributor
I don't think I'm getting any further with Outlook.
That's why I forwarded your question to the Outlook group / community.
Maybe it needs some settings in Outlook, which I don't know.
Whatever the case, let's wait for the response and then we'll see.Question Link:
Sorry that I haven't been able to offer you a solution until now.
Thx for your Tiem and patience
Nikolino
I know I don't know anything (Socrates)