bellboy2k
asked on
vba code to delete all messages in a folder
Hi,
I need vba code to delete all messages in a folder. I currently have another macro that saves all files automaticaly, and would like to deete the files after they have been saved.
Andy
I need vba code to delete all messages in a folder. I currently have another macro that saves all files automaticaly, and would like to deete the files after they have been saved.
Andy
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
sorry that should be the count
intItems = objInbox.Items.Count
intItems = objInbox.Items.Count
ASKER
bruintje,
Thanks thst worked great, how would I get it to delete the files from a subfolder of the Inbox?
Andy
Thanks thst worked great, how would I get it to delete the files from a subfolder of the Inbox?
Andy
ASKER
I got an error on intItems = objInbox.Items any ideas?
Andy