PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Accessing Search Results (using Find Now in GUI) from VBA-code
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Accessing Search Results (using Find Now in GUI) from VBA-code
![]() |
Accessing Search Results (using Find Now in GUI) from VBA-code |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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 http://www.outlookcode.com/jumpstart.aspx "Henrik" <anonymous@discussions.microsoft.com> wrote in message news:5B29B0F9-17E8-40F8-BBA0-F7B74F49AD21@microsoft.com... > 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 |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Hi Sue!
Thank you for your answer. Then I know that I have to find a workaround. /Henrik |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

