Folder.Folders Property
Outlook Developer Reference |
Returns the Folders collection that represents all the folders contained in the specified Folder. Read-only.
Version Information
Version Added: Outlook 2007
Syntax
expression.Folders
expression A variable that represents a Folder object.
Remarks
The NameSpace object is the root of all the folders for the given name space.
Example
This Visual Basic for Applications (VBA) example uses the Folders.Add method to add the new folder named "My Personal Contacts" to the default Contacts folder.
Visual Basic for Applications |
---|
|
This VBA example uses the Folders.Add method to add two new folders in the Tasks folder. The first folder, "My Notes Folder", will contain note items. The second folder, "My Contacts Folder", will contain contact items. If the folders already exist, a message box will inform the user.
Visual Basic for Applications |
---|
|
See Also