I need to create an Outlook search macro that will search across all mailboxes. I have found a list of valid search scopes for Outlook 2013 (see below). A constant for All Mailboxes is not included. Is it possible to set a VBA Outlook search scope to All Mailboxes?
FOUND LIST (slipstick.com):
Valid Search Scopes
In Outlook 2010 and Outlook 2013, you can choose between the following search scopes:
olSearchScopeCurrentFolder Limit the search to the currently selected folder.
olSearchScopeSubfolders Limit the search to the currently selected folder and its subfolders. To search all
folders in one data file, select the top level of the pst.
olSearchScopeAllFolders Search all folders (of the current folder type). This search includes all data stores that
are enabled for search.
olSearchScopeAllOutlookItems Search all Outlook items in all folders in stores that are enabled for search.