Transfers control within a procedure to a labeled statement.
GoTo label
label
A label of a statement to which you want to transfer control.
You can't use the GoTo statement at the module level; you can only use it in a procedure. You can't use GoTo to transfer control into or out of a procedure or a With...End With block.
Use the GoTo statement to transfer control to any labeled statement that does not violate either of the preceding rules.