Skip to next iteration in loop vba

前端 未结 4 411
灰色年华
灰色年华 2020-12-17 07:59

I am trying to create a simple conditional loop that will go to the next iteration if a condition is true. The code I have so far is:

For i = 2 To 24
    Leve         


        
4条回答
  •  鱼传尺愫
    2020-12-17 08:17

    I use Goto

      For x= 1 to 20
    
           If something then goto continue
    
           skip this code
    
      Continue:
    
      Next x
    

提交回复
热议问题