I didn't get far simply exchanging my code for that single line in yours. It's probably trying to create a spreadsheet for each folder it traverses or some such.
In a perfect world, what I'd like is 1 macro that would go through all folders (including those in PST's), look for mail items...
I've been able to create a script that will look through a selected folder and export the necessary data for any email message categorized but I'd like this macro to go through ALL emails in ALL folders. The part of the For Loop that needs fixing is "For Each olkMsg In...
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.