I have a little problem with the On Error Goto event. Does not seem like it catches the error all the time. It does sometimes. I am using VBA in Access. Here's some of the code that I am using with the on error statement. I get a Error number 91 when it tries to pull the information from the website if there is no data to pull. Any help is appreciated.
Thanks,Code:On Error GoTo Skip: AtmsQualsLength = WebBrowser1.Document.getelementbyid("tblQuals").rows.length - 1 Skip: If Err.Number = 91 Then MsgBox stblBadgeNumber(i) & " is not found in ATMS!" Err.Clear End If
TheChazm




Reply With Quote