+ Reply to Thread
Results 1 to 2 of 2

Last Iteration of Loop?

  1. #1
    Registered User
    Join Date
    01-15-2015
    Location
    Peru
    MS-Off Ver
    2007
    Posts
    1

    Last Iteration of Loop?

    Hello, I need to know if there is easy way to manipulate the last iteration of bucle for each. Something like this:

    Please Login or Register  to view this content.
    Sorry for my English
    Last edited by Leith Ross; 01-17-2015 at 07:47 PM. Reason: Added Code Tags

  2. #2
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Last Iteration of Loop?

    Quote Originally Posted by saintplay View Post
    I need to know if there is easy way to manipulate the last iteration of bucle for each. Something like this:
    Please Login or Register  to view this content.
    Your English explanation is a lot better than many!

    It might help to know how NoConstantNumberOfElements and Element are declared, for example in a Dim statement.

    For example, if NoConstantNumberOfElements is a type Range variable, you might write:
    Please Login or Register  to view this content.
    But if there is no more to the for-loop, it might be better to write:
    Please Login or Register  to view this content.

+ 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] Loop fails on 2nd iteration
    By capson in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-14-2014, 01:38 PM
  2. Continue next iteration of For loop
    By Excel_vba in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-22-2013, 02:09 AM
  3. Loop Array Iteration and Processing
    By Bigced_21 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-01-2010, 11:16 AM
  4. Selection not updating after 1st iteration in a For Each loop
    By Excel_vba in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-18-2009, 09:19 PM
  5. Advancing to the next iteration of a loop?
    By Maury Markowitz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-02-2005, 01:06 PM

Tags for this Thread

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