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