Cancel was selected (Error 32755)

This error occurs when the CancelError property is set to True and the user clicks the Cancel button in the dialog box. Use this error to execute different code when the Cancel button was selected. For example, in a File Open dialog box, you might respond to this error by exiting the current procedure instead of attempting to open a file.