![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Need to create a top level fodler within a users mailbox called 3 year
retention. Would like to find a way to script this for approx 6000 mailboxes, any suggestions or recommendations are appreciated |
#2
|
|||
|
|||
![]()
When you say top level folder do you mean one just below "Mailbox" and on a
level with Inbox? Set ol = New Outlook.Application Set ns = ol.GetNameSpace("MAPI") Set folder = ns.GetDefaultFolder(6) 'Inbox Set folder2 = folder.Parent Set folder3 = folder2.Folders.Add("3 Year Retention", 6) 'new email folder That would work as a VBScript. If you want to create a different type of folder use a different value from the OlDefaultFolders enumeration. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Adrian Butler" wrote in message ... Need to create a top level fodler within a users mailbox called 3 year retention. Would like to find a way to script this for approx 6000 mailboxes, any suggestions or recommendations are appreciated |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating Outlook Search Folder Programatically. | Elanchezhian.R | Outlook and VBA | 2 | February 7th 07 06:09 AM |
Creating Mailbox Top Level Folder with VBA | Boy from Oz | Outlook and VBA | 2 | November 24th 06 07:05 AM |
Problem creating folder in Outlook Add-In. | Paulo Braz Figueiredo | Add-ins for Outlook | 0 | October 18th 06 01:31 PM |
Correct way to get top-level folder of newly added store (new PST file) | [email protected] | Outlook and VBA | 2 | September 22nd 06 11:47 PM |
Creating a PST file at the server level | Amwendwa | Outlook - General Queries | 8 | February 10th 06 01:01 PM |