troubleshooting Question

VBA Code for Advanced Find in Outlook

Avatar of Senniger1
Senniger1 asked on
Visual Basic ClassicOutlookVB Script
19 Comments2 Solutions6258 ViewsLast Modified:
I'm currently using Outlook 2010, but my question should work for Outlook 2003.

I need the VBA code for an ADVANCED FIND in Outlook for TASKS where SUBJECT CONTAINS "(Corp".  See attachment for a screenshot of my search.

I'm thinking I would use the following and I believe I can cover the scope, but I don't know how to enter the FILTER part.  Also I don't think I would need to search sub folders.

Set objSearch = Application.AdvancedSearch(Scope, Filter, SearchSubFolders, Tag)

Can anyone help me with this code.

Thanks in advance!
AdvanceFind.jpg
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 19 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 19 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros