How to programmatically select some emails from the current folder

J

juan_richeri

Hi!
Is there a way in Outlook, to programmatically select a given set of
emails?
I know how to retrieve the Outlook::Selection object but this is an
output
property...

Thanks.
 
K

Ken Slovak - [MVP - Outlook]

A filter or restriction on the Items collection of a folder will do that.
Remember though that this has no correlation with any selection in the UI.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top