Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
On Error Resume Next
X = 10 / 0
If Err.Number <> 0 Then
X = 0
Err.Clear
End If
Public Sub MySub()
On Error Goto ErrHandler
[Code for the subroutine]
Exit Sub
ErrHandler:
'Check for any errors you might be expecting
If Err.Number = 999 Then
[Code that resolves this error - retry the line that errord]
Resume
Else
'Give the user some info on this error
MsgBox "Unfortunately the following error occurred " & _
"in the MySub routine: Error # " & Err.Number & _
" " & Err.Description
End If
End Sub