MS Outlook Query to Export filtered contacts

Hi all, so I have an outlook contacts folder where each contact is assigned one or more "Categories."

I am trying to write a macro in MS Outlook to take the contacts folder, and for each different category export it to a different CSV file.  So for instance the categories are Mike, Jeff, and Tracy.  I want to take all the contacts with a category of Mike and export it to Mike.csv.  Take all the contacts with a category of Jeff and export it to Jeff.csv, etc.

Can anyone point me in the right direction.  I have alot of experience writing code in Excel and Access, but not so much in Outlook.

Thanks,
Jeff
jeffbarbacpaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

e_aravindCommented:
which version of Outlook is involved in this process?
I remember "Master Category List" being used in the older verison of Outlook clients to store the category data
0
jeffbarbacpaAuthor Commented:
Outlook 2010
0
e_aravindCommented:
To get the category list:

In Outlook 2010, you have to access the location
C:\Users\XXXXXX\AppData\Local\Microsoft\Outlook\RoamCache

The file name starts with Stream_CategoryList xxxx.dat. This is an XML file



0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jeffbarbacpaAuthor Commented:
ok solution, but didn't quite work for what I had
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Outlook

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.