![]() |
How to edit existing categories in OL2007
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 |
How to edit existing categories in OL2007
The Categories collection is a member of the NameSpace object in Outlook
2007. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Christian Havel" wrote in message ... 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 |
How to edit existing categories in OL2007
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 "Ken Slovak - [MVP - Outlook]" wrote: The Categories collection is a member of the NameSpace object in Outlook 2007. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Christian Havel" wrote in message ... 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 |
How to edit existing categories in OL2007
If oNS is a NameSpace object then use:
Set catCollection = oNS.Categories -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Christian Havel" wrote in message ... 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 |
All times are GMT +1. The time now is 12:35 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com