DefaultFilePath Property

Applies To

Application Object.

Description

Returns or sets the default path Microsoft Excel uses when it opens files. Read-write.

Example

This example displays the current default file path.


MsgBox "The current default file path is " & _
    Application.DefaultFilePath