Poznámka
Na prístup k tejto stránke sa vyžaduje oprávnenie. Môžete sa skúsiť prihlásiť alebo zmeniť adresáre.
Na prístup k tejto stránke sa vyžaduje oprávnenie. Môžete skúsiť zmeniť adresáre.
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.