CreateFolder Method

Microsoft Visual Basic Constants

CreateFolder Method

           

Description

Creates a folder.

Syntax

object.CreateFolder(foldername)

The CreateFolder method has these parts:

Part Description
object Required. Always the name of a FileSystemObject.
foldername Required. String expression that identifies the folder to create.

Remarks

An error occurs if the specified folder already exists.