我有以下代码:
我以为我可以简单地使用语句
在
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)**
End If
'// other code to copy past and do various stuff
Next x
我以为我可以简单地使用语句
Then Next x
,但是这会导致一个"没有声明for语句"的错误。在
If InStr(sname, "Configuration item") Then
之后,我应该放什么来使它继续到下一个x的值?