Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds a new Folder to a Folders collection.
Syntax
object.Add folderName
The Add method has the following parts:
Part | Description |
---|---|
object | Required. Always the name of a Folders collection. |
folderName | Required. The name of the new Folder being added. |
Remarks
An error occurs if the folderName already exists.
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.