Returns or sets the default filename extension for the dialog box.
object.DefaultExt [= string]
The parts of the DefaultExt property syntax are described in the following table.
Part | Description |
---|---|
object | An object expression that evaluates to an object. |
string | A string expression specifying the file extension. |
Use this property to specify a default filename extension, such as .txt or .doc. When a file with no extension is saved, the extension specified by this property is automatically appended to the filename.
String