Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 794 Bytes

Excel.Application.DefaultFilePath.md

File metadata and controls

38 lines (23 loc) · 794 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.DefaultFilePath property (Excel)
vbaxl10.chm133115
vbaxl10.chm133115
Excel.Application.DefaultFilePath
8eb8f6a2-f5fe-0b7e-172f-e7cfabef4af2
04/04/2019
medium

Application.DefaultFilePath property (Excel)

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.

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

[!includeSupport and feedback]