title: VBSCRIPT Outlook how to select items from within a search result window
body: <p>Dim selItems  As Selection    ' A collection of Outlook item objects in a folder
  Set selItems = ActiveExplorer.Selection</p>
  
  <p>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.</p>