【发布时间】:2011-08-19 05:58:59
【问题描述】:
我有以下代码
For x = LBound(arr) To UBound(arr)
sname = arr(x)
If instr(sname, "Configuration item") Then
'**(here i want to go to next x in loop and not complete the code below)**
'// other code to copy past and do various stuff
Next x
所以我认为我可以简单地使用声明 Then Next x,但这会产生“no for statement declared”错误。
那么我可以在If instr(sname, "Configuration item") Then 之后添加什么以使其进入 x 的下一个值?
【问题讨论】:
-
感谢人们纠正我的拼写错误,我知道我的拼写很烂,并且很感激人们花时间帮助我。干杯