vba findnext重复,每个结果出现两个!
Setc=.Find(condition,lookat:=xlPart)Doresult="记录行号:"&c.Rowmsgbox(result)Setc=.FindNex...
Set c = .Find(condition, lookat:=xlPart)
Do
result = "记录行号:" & c.Row
msgbox ( result)
Set c = .FindNext(c)
Loop While Not c Is Nothing And c.Address <> firstAddress
求问原因何在!如何解决?
do 前面有
firstAddress = c.Address 展开
Do
result = "记录行号:" & c.Row
msgbox ( result)
Set c = .FindNext(c)
Loop While Not c Is Nothing And c.Address <> firstAddress
求问原因何在!如何解决?
do 前面有
firstAddress = c.Address 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询