A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to edit existing categories in OL2007



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 15th 08, 03:42 PM posted to microsoft.public.outlook.program_addins
Christian Havel
external usenet poster
 
Posts: 43
Default 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
Ads
  #2  
Old February 15th 08, 05:09 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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


  #3  
Old February 18th 08, 07:46 AM posted to microsoft.public.outlook.program_addins
Christian Havel
external usenet poster
 
Posts: 43
Default 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



  #4  
Old February 18th 08, 01:45 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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 03:17 PM
Categories in OL2007 vs OL2003 Luar Outlook - Using Contacts 2 July 9th 07 04:33 PM
Why does Outlook 2007 add recurrence when I edit an existing appo. craptacular Outlook - Calandaring 1 May 9th 07 03:54 PM
Edit existing Outlook form Vasil Vasilev Outlook - Using Forms 1 March 12th 07 09:31 PM
Contact birthday categories OL2007 Daniel Hawkins Outlook - Calandaring 0 August 13th 06 11:51 PM


All times are GMT +1. The time now is 12:41 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-2025 Outlook Banter.
The comments are property of their posters.