Reputation: 1
Dim selItems As Selection ' A collection of Outlook item objects in a folder Set selItems = ActiveExplorer.Selection
This code will not work if I select one or more items from within a search results window. For example I am in outlook viewing my emails. I filter by from: or To: or some date or keyword or file type and then when I select or highlight one or more email items the code above does not detect the items.
Upvotes: 0
Views: 393
Reputation: 49455
I have just checked this out in my Outlook 2013. The Selection property of the Explorer class returns the correct results all the time (even in case of search folders).
Upvotes: 0