Hi,
I have the following errorhandling procedure, which is located at the end of my procedure.
When the code reaches this, even though I have already set errorhandling back to default (on error goto 0), it is going through this code even though there is no error.
Have I written this incorrectly, or put it in the wrong place? I have spent hours trying to work this out!
I have the following errorhandling procedure, which is located at the end of my procedure.
When the code reaches this, even though I have already set errorhandling back to default (on error goto 0), it is going through this code even though there is no error.
Have I written this incorrectly, or put it in the wrong place? I have spent hours trying to work this out!
Code:
ErrorHandler:
Select Case Err
Case 1004, 13
sData = "No Data"
Resume Next
End Select