G
Guest
Every time I try to run the following code I get "Compile Error Label not
defined"
Private Sub cmdShowDetails_Click()
On Error GoTo ErrorHandler
(Main body of code here)
CleanUpAndExit:
End Sub
ErrorHandler:
Call MsgBox("Invalid Part Number")
Resume CleanUpAndExit
End Sub
Any suggestions?
defined"
Private Sub cmdShowDetails_Click()
On Error GoTo ErrorHandler
(Main body of code here)
CleanUpAndExit:
End Sub
ErrorHandler:
Call MsgBox("Invalid Part Number")
Resume CleanUpAndExit
End Sub
Any suggestions?