![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Awesome - helluva thorough answer! Lots to work with. It brings to
mind, "I just hope you're not busy for about a month" - Tommy Chong, 1978 ![]() ![]() On Thu, 2 Aug 2007 08:57:02 -0400, "Ken Slovak - [MVP - Outlook]" wrote: To search in multiple folders in one search you can separate the list of folders with commas, I find it works best in those cases if I surround each folder name with single quotes whether or not they have spaces in the names. All the searched folders must be in the same mail store (PST or mailbox), you can't search across stores. To be able to identify various searches when they complete and fire the AdvancedSearchComplete event you add unique Tag properties to each search you start, then check the Tag of the completed search when it's passed to you in that event handler. You can aggregate the searches in any way you want: a listbox, grid control, disconnected recordset, a collection, the list is limited by your imagination. I often use a grid control when I want to aggregate results from multiple folders into one visual interface. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
AdvancedSearch and .Body | [email protected] | Outlook and VBA | 2 | July 26th 07 04:25 PM |
AdvancedSearch Method | Irene | Outlook and VBA | 3 | December 7th 06 11:02 PM |
Type of object for AdvancedSearch | Renjith | Outlook and VBA | 4 | May 17th 06 02:13 PM |
Scope Parameter for AdvancedSearch | Renjith | Outlook - General Queries | 1 | May 12th 06 04:58 PM |
AdvancedSearch | Serg Flic | Outlook and VBA | 1 | January 10th 06 03:17 PM |