AddFolders Method

Microsoft Visual Basic Constants

Add Method (Folders)

           

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.