VB003
GoTo statement
Visual Basic 6
Warning
VB6
Unstructured jumps hide control flow; On Error GoTo is exempt because it is VB6's structured error handling
unstructured jumps hide control flow; On Error GoTo is exempt because it is VB6's structured error handling.
Why this severity
unstructured jumps hide control flow; On Error GoTo is exempt because it is VB6's structured error handling.
Known false positives
generated code that jumps between numbered lines.
Remediation example
If Not IsValid Then Exit Sub ' instead of: If Not IsValid Then GoTo Cleanup