The DefaultFilePath property returns or sets the default path for opening files. Returns a string.
Syntax
object.DefaultFilePath
object.DefaultFilePath = newVal
Parameter |
Type |
Description |
NewVal |
String |
required |
Example 1
This example demonstrates how to return the default file path.
Debug.Print mvApp.DefaultFilePath
Example 2
This example sets " c:\temp" directory as the default file path.
mvApp.DefaultFilePath = " c:\temp"
Used by: Application object