+ Reply to Thread
Results 1 to 2 of 2

Skip in loop if condition in loop is met

  1. #1
    Forum Contributor
    Join Date
    02-05-2015
    Location
    czech
    MS-Off Ver
    2010
    Posts
    172

    Skip in loop if condition in loop is met

    I would like to skip in loop if condition is met in loop something like this:

    Please Login or Register  to view this content.
    Or better if condition for Cells(i,1) is met skip to i where condition for Cells(i,2) is met.

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,088

    Re: Skip in loop if condition in loop is met

    Why to use a WHILE , like that you can modify the index ( here i ) as you want
    - Battle without fear gives no glory - Just try

+ 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. [SOLVED] For loop - skip to next cell in range
    By gombi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-27-2014, 04:43 PM
  2. [SOLVED] Skip row in For...Next loop to automate e-mails
    By Bonnister in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-15-2013, 08:26 AM
  3. [SOLVED] Skip blank cells in a loop
    By k64 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-14-2013, 02:29 PM
  4. Use a loop but skip a row
    By amartino44 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-31-2013, 12:26 PM
  5. Skip to next record in For...Next Loop if condition not met
    By anandvh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-22-2013, 04:12 PM
  6. [SOLVED] Copy dynamically changing column and Paste using VBA Loop (Loop within Loop)
    By nixon72 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-12-2013, 12:46 PM
  7. skip hidden rows in loop
    By secondrate in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2010, 08:41 AM

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