Export (0) Print
Expand All
Expand Minimize

Application.DefaultFilePath Property

Office 2007
Returns or sets the default path that Microsoft Excel uses when it opens files. Read/write String.

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



Community Additions

ADD
Show:
© 2014 Microsoft