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 » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Automate Public Folder and Label Setup



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 23rd 07, 11:32 PM posted to microsoft.public.outlook.program_vba
sqtchman74
external usenet poster
 
Posts: 1
Default Automate Public Folder and Label Setup

I am running an Exchange 2003 enviroment with about 150 users. Each
user is using Outlook 2003 or higher. I have created the following
script to automatically move the contents from the Users Public Folder
list to his Public Favorites so they can see these calanders in thier
outlook calendar section to choose from:

Dim myOlApp
Set myOlApp = CreateObject("Outlook.Application")
Set myNS = myOlApp.Application.GetNamespace("MAPI")
Set myAPF = myNS.Folders("Public Folders").Folders("All Public
Folders")
myAPF.Folders("StorePublic").AddToPFFavorites

I have this script in a .vns file so it can be run outside of Outlook.

My question is what code do I need to add to this file so that I can
change each users label description in there Outlook for a specific
color to read something different other than the defualt.

Ads
  #2  
Old May 24th 07, 01:17 AM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Automate Public Folder and Label Setup

You may need to think this out a bit more. In Outlook 2003, calendar color labels are folder-specific, not user-specific. So, you don't need any script code. Just set them once, manually. Outlook 2007, OTOH, has no folder-specific labels, nor really any labels at all. Instead, it has categories, the colors for which are user-specific and contained in the user's Namespace.Categories collection. Working with these two tagging concepts from two different versions may not be very easy.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"sqtchman74" wrote in message oups.com...
I am running an Exchange 2003 enviroment with about 150 users. Each
user is using Outlook 2003 or higher. I have created the following
script to automatically move the contents from the Users Public Folder
list to his Public Favorites so they can see these calanders in thier
outlook calendar section to choose from:

Dim myOlApp
Set myOlApp = CreateObject("Outlook.Application")
Set myNS = myOlApp.Application.GetNamespace("MAPI")
Set myAPF = myNS.Folders("Public Folders").Folders("All Public
Folders")
myAPF.Folders("StorePublic").AddToPFFavorites

I have this script in a .vns file so it can be run outside of Outlook.

My question is what code do I need to add to this file so that I can
change each users label description in there Outlook for a specific
color to read something different other than the defualt.

 




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
Setup exchange public folders in OL2003 Brandon Outlook - Using Contacts 4 January 26th 07 03:36 PM
automate email account setup Remush via WindowsKB.com Outlook Express 2 January 14th 07 11:18 PM
Get Public Folder Name - Automate PickFolder function FondaUK Outlook - Using Forms 5 December 7th 06 04:30 PM
Automate Public Folder Creation John Mc Cabe Outlook and VBA 1 August 16th 06 04:01 PM
activate contact folder from public folder with "show this folder as email address book using a prf file Frankie K. Outlook - Using Contacts 7 July 25th 06 05:37 PM


All times are GMT +1. The time now is 10:26 AM.


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.