title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Application.DefaultFilePath property (Excel) |
vbaxl10.chm133115 |
|
|
8eb8f6a2-f5fe-0b7e-172f-e7cfabef4af2 |
04/04/2019 |
medium |
Returns or sets the default path that Microsoft Excel uses when it opens files. Read/write String.
expression.DefaultFilePath
expression A variable that represents an Application object.
This example displays the current default file path.
MsgBox "The current default file path is " & _
Application.DefaultFilePath
[!includeSupport and feedback]