macro to extract subject line and "paste" in advanced search

S

stef

OL 2002 SP3
Win XP HE SP1

Follow-up to: microsoft.public.outlook.program_vba

Hi,
I need to create some advanced searches that will look into specific
email sub-folders "A" and "C", for example.
I am planning on creating the advanced search, save it locally and put
some icons in a custom toolbar 4 quick access.
Can anyone help me with the 2nd part of this project which would be to
extract the subject line of an email (e.g. "our telephone conversation
of today") and paste it or use it in the Advanced Find search feature
under advanced tab: conversation is (exactly) "our telephone
conversation of today".
I am trying to replicate the "search all related emails" that appears in
yellow on top of email messages headers in preview pane in your inbox
once you have replied to a message ("you replied on 8/2/2006 10:00 AM.
Click here to find all related messages")--a default feature of OL which
unfortunately ONLY searches in the current folder (in my case Inbox),
Inbox, Drafts, Sent Items. I would like to add sub-folders "A" and "C"
to that list or ONLY have sub-folders "A" and "C".
I am open to any other suggestions as to how accomplish this but I was
thinking that since that feature does not seem to be customizable (at
least that's what I am told--but could be subject to registry hack
perhaps?), perhaps a VBA macro could be the only solution.
Thanks for ur expert advice, u geniuses out there!
 
S

Sue Mosher [MVP-Outlook]

The Advanced Find dialog is not accessible programmatically, so you'd have to use some kind of SendKeys kludge. Not something I'd want to depend on.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
S

stef

Sue said:
The Advanced Find dialog is not accessible programmatically, so you'd have to use some kind of SendKeys kludge. Not something I'd want to depend on.
Sorry Sue, didn't see ur reply.
I guess i really need to upgrade to OL2003 fro the search folders which
will make it a bit easier for me.
OR, use a desktop indexing search that will include OL email messages.
 

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