Visual Basic for Applications Reference

MkDir Statement

See Also Example Specifics

Creates a new directory or folder.

Syntax

MkDirpath

The required pathargument is a string expression that identifies the directory or folder to be created. The path may include the drive. If no drive is specified, MkDir creates the new directory or folder on the current drive.