【发布时间】:2017-04-01 22:03:28
【问题描述】:
如何使用 continue 语句跳过循环进行下一次迭代。因此,如果条件失败,则循环必须进行下一次迭代
代码如下:
Do While i<50
If IsEmpty(Cells(EndRow, 25)) = False Then
Continue Do
Else
Cells(EndRow, 25).Interior.ColorIndex = 37
i = i+1
LOOP
【问题讨论】: