you have to loop the main folder and all its subs. to find a folder, select it from the MAPI, like this:
here is an example of looping subfolders in a main:
that code is a modified version of that found here by MS:
https://docs.microsoft.com/en-us/pre...3(v=office.11)
see the image below for the printout that the code gave me, based on my programs' PST info. PST = all outlook info for one profile.
this post by me a while back is also relevant, and should give you everything else you need:
https://www.excelforum.com/outlook-f...ml#post5428264
Bookmarks