How to edit existing categories in OL2007

C

Christian Havel

Hi,

how can I add, removed and edit categories in Outlook 2007?

I see the class "categories" and "category" in the objectcatalog (F2) in the
VBA editor, but I do not know how to initialize the collection object.

Christian
 
K

Ken Slovak - [MVP - Outlook]

The Categories collection is a member of the NameSpace object in Outlook
2007.
 
C

Christian Havel

Hi Ken,

thanks for your response.
I found the Categories collection. But how can I load the Collection?
Something like (VB6):
Dim catCollection as Categories
Set catCollection = ?????.GetCategories <---

Christian
 
K

Ken Slovak - [MVP - Outlook]

If oNS is a NameSpace object then use:

Set catCollection = oNS.Categories
 

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