DefaultFilePath Property

The DefaultFilePath property returns or sets the initial open/save path for the application. Returns a String.

Syntax

object.DefaultFilePath

object.DefaultFilePath = DefaultFilePath

 

Parameter Type Description
DefaultFilePath String required, path in quotes

 

Example 1

This example sets c:\temp as the default file path.

GrapherApp.DefaultFilePath = "C:\temp"

Example 2

This example demonstrates how to return the default file path.

Debug.Print GrapherApp.DefaultFilePath

 

Used by: Application object