Open Advanced Search Dialog

P

progger

Hi

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

Could anyone help me out with some code samples?

Thanks alot for your help in advance!
progge
 
S

Sue Mosher [MVP]

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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top