Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.