A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

AdvancedSearch behavior



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 2nd 07, 02:46 PM posted to microsoft.public.outlook.program_vba
Wild Bill
external usenet poster
 
Posts: 13
Default AdvancedSearch behavior

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 05:13 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.