Folders Object
Outlook Developer Reference |
Contains a set of Folder objects that represent all the available Outlook folders in a specific subset at one level of the folder tree.
Remarks
Use the Folders property to return the Folders object from a NameSpace object or another Folder object.
Use Folders(
index
), where
index
is the name or index number, to return a single Folder object. Folder names are case-sensitive.
Example
The following Visual Basic for Applications (VBA) example returns the folder named Old Contacts.
Visual Basic for Applications |
---|
|
The following Visual Basic for Applications example returns the first folder.
Visual Basic for Applications |
---|
|
See Also