Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Help! VBA code for merge filtering

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I'm surprised that the Macro Recorder didn't capture the code for filtering records during a merge with Word XP (using Filter Recipients-->Advanced). I've noticed there are several features that don't get captured that way.

I wanted the VBA code to filter only those recoreds where: CATEGORY = "Engineer" OR CATEGORY = "CCCA". But when I used the Macro Recorder and successfully did it manually, it did not capture that code and I couldn't find the correct code anywhere that represents that kind of compound filtering.

Any help would be much appreciated...thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top