Hi,
I have a very basic code that helps me move selected emails from the Inbox to a subfolder, but it will not move it.
My VBA keeps telling me the folder (ToDo) does not exist, but that is likely because it is a subfolder, and it is not directly listed underneath the mailbox.
The structure of the mailbox is setup like this:
- Mailbox - Marijke
- Inbox
--> subfolder of inbox: Today
--> subfolder of Today: ToDo
This is part of the code I have where the mailfolder is selected:
'Define path to the target folder
Set moveToFolder = ns.Folders("Mailbox - Marijke").Folders("ToDo")
Can anyone help me obtain the code I need to move my emails?
Thank you!
Bookmarks