Export (0) Print
Expand All
A
Expand Minimize

Visual Basic for Applications Reference

Visual Studio 6.0

Add Method (Folders)

See Also    Example    Applies To    Specifics

Description

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.

Show:
© 2015 Microsoft