Application.FileDialog Property
PowerPoint Developer Reference |
Returns a FileDialog object that represents a single instance of a file dialog box. Read-only.
Syntax
expression.FileDialog(Type)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Type | Required | MsoFileDialogType | The type of dialog to return. |
Return Value
FileDialog
Remarks
The value of the Type parameter can be one of these MsoFileDialogType constants.
msoFileDialogFilePicker |
msoFileDialogFolderPicker |
msoFileDialogOpen |
msoFileDialogSaveAs |
Example
This example displays the Save As dialog box.
Visual Basic for Applications |
---|
|
This example displays the Open dialog box and allows a user to select multiple files to open.
Visual Basic for Applications |
---|
|
See Also