为什么说没有for循环?

时间:2019-07-03 10:24:29

标签: excel vba

我不确定为什么当我尝试输入下一行row2时为什么没有for循环

Sub test4()
    For row2 = 2 To 174
        If IsEmpty("I" & row2) Then
            Worksheets("Sheet1").Range("I" & row2).Copy _
            Destination:=Worksheets("Sheet2").Range("R5")
    If IsEmpty("I" & row2) Then Exit For
    Next row2
End Sub

0 个答案:

没有答案
相关问题