CDO multiple filters on same field?

V

vonClausowitz

Hi ALL,

I use a CDO code to read the addressbook into a access table.
Now I just want the addressess with the CdoPR_ACCOUNT, "M0" and
CdoPR_ACCOUNT, "E0"

Set objFilter = objAddrEntries.Filter
objFilter.Fields.Add CdoPR_ACCOUNT, "M0"
objFilter.Fields.Add CdoPR_ACCOUNT, "E0"

Can I set a double filter to get just these addresses?

Regards

Marco
 
K

Ken Slovak - [MVP - Outlook]

It should work. Try it and see. Coding it would take about a minute as a VBA
test macro.
 
Top