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

Open Advanced Search Dialog



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 1st 10, 08:44 PM posted to microsoft.public.outlook.program_vba
progger
external usenet poster
 
Posts: 3
Default Open Advanced Search Dialog


Hi

I would like to open the "Advanced Find"-Dialog from within Outlook
VBA.
If possible I would also like to already set some search parameters
(e.g. the folder to search in, to not only search in subject fields but
in regularly used textfields), so the user only has to type some other
parameters and can then start searching.
I know the function Application.AdvancedSearch(...), but I would really
like to open the Outlook built-in Dialog to the user, so he can refine
search parameters and start searching.

Could anyone help me out with some code samples?

Thanks alot for your help in advance!
progger


--
progger
http://forums.slipstick.com

Ads
  #2  
Old January 1st 10, 09:06 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP][_4_]
external usenet poster
 
Posts: 552
Default Open Advanced Search Dialog

What you want can't be done. The best you could do probably would be to use
CommandBars techniques to execute the menu/toolbar item that displays the
Advanced Find dialog. The Outlook object model does not, however, provide a
way to preset any of the options in that dialog (although it might be done
with a SendKeys kludge -- not a solution I'd ever give to users).

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"progger" progger.444o0y@invalid wrote in message
newsrogger.444o0y@invalid...

Hi

I would like to open the "Advanced Find"-Dialog from within Outlook
VBA.
If possible I would also like to already set some search parameters
(e.g. the folder to search in, to not only search in subject fields but
in regularly used textfields), so the user only has to type some other
parameters and can then start searching.
I know the function Application.AdvancedSearch(...), but I would really
like to open the Outlook built-in Dialog to the user, so he can refine
search parameters and start searching.



 




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
Search and Advanced search not finding all Deb Borys Outlook - Installation 6 November 12th 08 05:03 AM
Instant Search, Advanced Find, Search Folders, and Windows Desktop [email protected] Outlook - General Queries 2 October 31st 08 06:37 PM
Outlook search and advanced search not working (tried rebuilding the index) Bradley Burton Outlook - General Queries 2 July 22nd 08 07:31 PM
Advanced Find Dialog Box - Manipulating the result Irene Outlook and VBA 1 December 26th 06 07:41 PM
question how to get the outlook advanced find dialog and QueryRestriction restriction roger Add-ins for Outlook 3 November 27th 06 03:03 PM


All times are GMT +1. The time now is 11:35 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.