+ Reply to Thread
Results 1 to 2 of 2

How to go to next index of loop from IF statement?

  1. #1
    Forum Contributor VAer's Avatar
    Join Date
    09-10-2016
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    786

    How to go to next index of loop from IF statement?

    Please Login or Register  to view this content.
    How to skip some code and go to next index? What is correct syntax for next index?

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,017

    Re: How to go to next index of loop from IF statement?

    Please Login or Register  to view this content.
    Test for condition which does NOT skip to next i and so executes your code
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to convert IF statement to LOOP statement
    By JIBZZLE in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 12-07-2021, 03:30 PM
  2. For Each Loop with If Statement
    By Travman1986 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-18-2017, 01:37 PM
  3. [SOLVED] For Next Loop with IF statement inside does not loop
    By roxybethany in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-09-2013, 11:45 AM
  4. if statement within do loop
    By hh92 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-12-2013, 10:19 AM
  5. Changing the index of a for loop inside of the loop
    By drinkmorewine in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-03-2013, 12:19 PM
  6. worksheet object as string - loop statement in worksheet index
    By ag273n in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-20-2013, 12:27 PM
  7. Loop Statement
    By Dust For Eyes in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-06-2007, 10:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1