|
Ok when i click cancel in the open file dialogue i want to execute a command. But by using
"on error goto cancel" the code in Cancel wont execute one i have executed the loaded a file once. in fact crazy things start to happen. is there any sort of "On cancel exit sub" or something, this is the outline of my code
Private Sub cmdLoad_Click()
On Error GoTo Cancel
...
Exit Sub
Cancel:
...
Exit Sub
End Sub
thank you for your time
|