CloseDialog Method
Description
This method clicks the Cancel button to close an open dialog box.
Syntax
Visual Basic |
---|
Public Sub CloseDialog( _ Optional ByVal saveOnExit As Long = 0 _ ) |
Parameters
- saveOnExit
Long value that determines if the dialog box is saved when it cancels.
1 - Save on cancel.
0 - Do not save on cancel.
See Also