![]() |
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
|
|||
|
|||
![]()
I need to create outlook folders to replicate a folder and sub folder
structure in explorer (ie messages can be stored in the outlook folders and attachments and other files in the equivalent explorer folder). I have the folder listing in excel and as a text file - how can I do this with VBA? |
#2
|
|||
|
|||
![]()
Use the MAPIFolder.Folders.Add method to create new subfolders for the target MAPIFolder.
It's not clear from your post where you want to create the new folders, but between the Namespace.GetDefaultFolder method and the Namespace.Folders collection, you should be able to walk the folder hierarchy up or down to reach the desired target. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Tony Spence" Tony wrote in message ... I need to create outlook folders to replicate a folder and sub folder structure in explorer (ie messages can be stored in the outlook folders and attachments and other files in the equivalent explorer folder). I have the folder listing in excel and as a text file - how can I do this with VBA? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
properly creating Personal Folders | RBB | Outlook - General Queries | 2 | February 11th 07 04:02 PM |
Problems creating a new profile using PST folders | Raj | Outlook - Installation | 0 | August 24th 06 07:23 AM |
Creating new folders | IT Tim | Outlook - General Queries | 3 | August 8th 06 03:46 PM |
Creating New Folders | pwrcudlr | Outlook - Using Contacts | 5 | June 8th 06 08:28 PM |
Can I automate creating new folders? | Chris | Outlook and VBA | 1 | April 5th 06 05:39 AM |