Share via


_Application.DefaultFilePath Property

Returns or sets the default path that Microsoft Excel uses when it opens files.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property DefaultFilePath As String
    Get
    Set
'Usage
Dim instance As _Application
Dim value As String

value = instance.DefaultFilePath

instance.DefaultFilePath = value
string DefaultFilePath { get; set; }

Property Value

Type: System.String

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace