'GoTo <labelname>' is not valid because '<labelname>' is inside a 'For' or 'For Each' statement that does not contain this statement
GoTo statements are restricted to jumps within the current block of code.
Error ID: BC30757
To correct this error
- Restructure your code so that the GoTo statement and the label are both inside the For block.