Export (0) Print
Expand All

Visual Basic for Applications Reference

Visual Studio 6.0

CreateFolder Method

See Also    Example    Applies To    Specifics

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.

Show:
© 2014 Microsoft