Exit For' は、'For' ステートメント内でのみ使用できます。 Exit Function' は、Sub または Property 内では有効ではありません。 Exit' の後には、'Sub'、'Function'、'Property'、'Do'、'For'、'While'、'Select'、または 'Try' を指定しな