![]() |
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
| Tags: categories, edit, existing, ol2007 |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Ads |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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 |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [OL2007] - Customize the contact layout in edit mode? - | Steve JORDI | Outlook - Using Forms | 5 | October 29th 07 04:17 PM |
| Categories in OL2007 vs OL2003 | Luar | Outlook - Using Contacts | 2 | July 9th 07 05:33 PM |
| Why does Outlook 2007 add recurrence when I edit an existing appo. | craptacular | Outlook - Calandaring | 1 | May 9th 07 04:54 PM |
| Edit existing Outlook form | Vasil Vasilev | Outlook - Using Forms | 1 | March 12th 07 10:31 PM |
| Contact birthday categories OL2007 | Daniel Hawkins | Outlook - Calandaring | 0 | August 14th 06 12:51 AM |