I want to iterate through my entire Outlook inbox, including messages stored on the MS Exchange Server. However, when I reference my Outlook inbox via:
NameSpace.GetDefaultFolder(olFolderInbox)
It only returns the items in my offline inbox. Does anybody know how to return the entire server archive?
Thanks for your help.
You need to add something to your ThisOutlookSession (vba) before you are able to perform what you would like to do.
Please refer to the following website. There is a lot explained about connecting to shared folders (exchange) and calendars.
https://www.slipstick.com/developer/working-vba-nondefault-outlook-folders/