How to edit existing categories in OL2007

  • Thread starter Thread starter Christian Havel
  • Start date Start date
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
 
The Categories collection is a member of the NameSpace object in Outlook
2007.
 
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
 
If oNS is a NameSpace object then use:

Set catCollection = oNS.Categories
 
Back
Top