'On GoTo' and 'On GoSub' statements are no longer supported
It is no longer valid to use the value of a variable or expression with the GoTo and GoSub statements to control program flow.
Error ID: BC30817
To correct this error
- Restructure your application to use If...Then...Else or Case statements.
See Also
Reference
On Error Statement (Visual Basic)