大师好,我利用下面的语句来跳转单元格:
dim i as integer
for i = 0 to 100
if Tables("jiben2017").rows (i ) = 20 then
Dim t As Table = Tables("jiben2017")
systemready = False
If t.Rows.count > t.Position+1 Then
t.Select(t.Position+i, t.cols("lwan0a").index)
End If
systemready = True
end if
有时拦截不到第一个符合条件的i值,该怎么办呢!!!