+ Reply to Thread
Results 1 to 4 of 4

For loop counter reset

  1. #1
    Forum Contributor
    Join Date
    05-30-2013
    Location
    France
    MS-Off Ver
    2010
    Posts
    260

    For loop counter reset

    Hi,

    The following loop I have currently works but I was wondering if there's a better way to build it to avoid having to reset the counter each time. Right now, I reset the counter after each column. Appreciate your help.


    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: For loop counter reset

    Please Login or Register  to view this content.
    ?
    or even
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: For loop counter reset

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  4. #4
    Forum Contributor
    Join Date
    05-30-2013
    Location
    France
    MS-Off Ver
    2010
    Posts
    260

    Re: For loop counter reset

    perfect thanks again ragulduy

  5. #5
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: For loop counter reset

    Hi, amphinomos,

    AFAIR Row is a VBA-Keyword and you should try another variable for it.

    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ 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. Reset Counter when a date is entered into various cells
    By asinara88 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-16-2013, 07:26 AM
  2. Counter reset
    By BN-CD in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-13-2007, 04:56 PM
  3. Counter Reset??
    By loh69 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-28-2006, 07:39 AM
  4. [SOLVED] Reset Counter
    By Ed in forum Excel General
    Replies: 3
    Last Post: 04-14-2006, 12:40 PM
  5. [SOLVED] How to Reset Workbook Counter?
    By Joseph Geretz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-03-2006, 01:55 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