VBA Input Box Cancel
How To Use The VBA Input Box Cancel Button To Exit Sub
This post will demonstrate how you can use the VBA input box cancel button to exit the sub procedure. When you click the “Cancel” button on the input box, you return a null (blank) value, and knowing this information, you can exit the sub procedure. Here is an example: 12345678910111213141516171819Sub VBAInputBoxCancel() Dim strResponse […]