【发布时间】:2016-06-10 21:36:16
【问题描述】:
我正在使用下面的代码循环遍历每一行,但是我只想循环遍历 B 列中的可见单元格(因为我已经过滤掉了我想忽略的值),范围从第 10 行 -194 行。有谁知道我会怎么做?
For X = 192 to 10 Step -1
If Range("B" & X).Text = "" Then **This needs to change to visible cells only but not sure how!
Code required insert here
Else
End If
Next X
【问题讨论】:
-
If Range("B" & X).entirerow.hidden=false?