LOL...I did replace "name" with my folder name. Actually several different ones. I still got the object not found error message. Could it have something to do with my email being through an MS exchange sever?
Thx Michael, however when I try to execute the "set folder=application.session.folders("name")" line of code I get the following error mess. Any Idea why this would be happening?
Thx Michael. I changed my code a little and this worked. But for some reason using the "For Each objMsg In subfolder.Items" function did not delete all the email message in a particular folder. There appeared to be a network latency issue. Once I added an external For loop counter and set it to...
Hello, I need a little Outlook VBA help please...I manually select a subfolder from a main folder that I created (not inbox, sent, delete, etc.) in my left-hand folder pane in Outlook and run this code to delete email messages contained in the folder. However, I have about 50 folders that I need...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.