GoTo
is an unstructured control flow statement. It makes code less readable and maintainable. Structured control flow statements such
as If
, For
, While
, or Exit
should be used instead.
Exceptions
On Error GoTo
statements are ignored as correct error handling.