Syntax

expression.DefaultFilePath

expression A variable that represents an Application object.

Example

This example displays the current default file path.

Visual Basic for Applications
MsgBox "The current default file path is " & _ Application.DefaultFilePath
default default file path Default File Path Property defaultfile defaultfilepath defaultfilepath property Find out what the default file path is? Set a different automatic path? Which path does Excel use for finding a file?

See also: