Can't set next statement

You are trying to set the next statement to a statement outside the current procedure.  The Set Next Statement command on the Run menucmdRunMenu works only within the current procedure.