阅读背景:

Excel vba 循环查找sheet的值findnext

来源:互联网 
        

With Worksheets("Data").Columns("G:G")
        Set c = .Find(Worksheets("Data").Cells(mrgRow, 2).Value, LookIn:=xlValues)
         If Not c Is Nothing Then
             firstAddress = c.Address
             Do
                  msgbox (c.Row)
                   Set c = .FindNext(c)
             Loop While Not c Is Nothing And c.Address <> firstAddress
           End If
End With
        

With Worksheets("Data").Columns("



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: