InitDir

Returns or sets the initial file directory.

Syntax

object.InitDir[ = string ]

The parts of the InitDir property syntax are described in the following table.

Part Description
object An object expression that evaluates to an object.
string An string expression specifying the initial file directory.

Remarks

This property is used to specify the initial directory for an Open or Save As dialog. If this property is not specified, the current directory is used.

Data Type

String