Accessing Search Results (using Find Now in GUI) from VBA-code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi!

Is there anyone who knows how I could access the search results in a contact folder from VBA-code in Outlook 2003. The user will perform a standard search typing in a name and pressing the Find Now button in the Outlook GUI. The results are then displayed in the Active Explorer. But how do I get the items that is displayed? I can either see which is the active explorers folder and loop through all thoose items, or I could selected some items and loop through thoose. But I just want to loop through thoose items that are displayed/filtered after the search in the GUI, without having to select them first

How can I accomplish this?
Any help is greatly appreciated

/Henrik
 
You either hve to select them first or use a programmatic search method .

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Henrik said:
Hi!

Is there anyone who knows how I could access the search results in a
contact folder from VBA-code in Outlook 2003. The user will perform a
standard search typing in a name and pressing the Find Now button in the
Outlook GUI. The results are then displayed in the Active Explorer. But how
do I get the items that is displayed? I can either see which is the active
explorers folder and loop through all thoose items, or I could selected some
items and loop through thoose. But I just want to loop through thoose items
that are displayed/filtered after the search in the GUI, without having to
select them first.
 
Hi Sue!

Thank you for your answer. Then I know that I have to find a workaround.

/Henrik
 
Back
Top