Skip to content

Instantly share code, notes, and snippets.

@spences10
Created November 23, 2016 21:55
Show Gist options
  • Save spences10/e51204af7781ba0afbb47005ec8b5489 to your computer and use it in GitHub Desktop.
Save spences10/e51204af7781ba0afbb47005ec8b5489 to your computer and use it in GitHub Desktop.
Generic VBA errHandler
Function {Function Name}
On Error GoTo CatchError
ExitFunction:
Exit Function
CatchError:
GoTo ExitFunction
End Function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment