+ Reply to Thread
Results 1 to 5 of 5

Running a loop

  1. #1
    Registered User
    Join Date
    12-09-2020
    Location
    australia
    MS-Off Ver
    2010
    Posts
    12

    Question Running a loop

    Wondering how to make this code run through each of column F's values until and return in column 'G' until the end of data?

    Please Login or Register  to view this content.
    Last edited by jptierney; 08-14-2021 at 08:10 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,380

    Re: Running a loop

    Untested, but try:

    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    12-09-2020
    Location
    australia
    MS-Off Ver
    2010
    Posts
    12

    Re: Running a loop

    That worked but it is returning all values in a single row. Is there a way to return each set of results in the corresponding row?

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,380

    Re: Running a loop

    Maybe change this
    Please Login or Register  to view this content.
    to this
    Please Login or Register  to view this content.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,380

    Re: Running a loop

    And you probably need to change this
    Please Login or Register  to view this content.
    to this
    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 not running through
    By bk23 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-15-2019, 04:08 AM
  2. Loop running very slow
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-16-2017, 04:42 PM
  3. [SOLVED] Loop keeps running
    By jduong93 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-21-2016, 07:30 PM
  4. If Valua A = Value B... If Value C = Value A without running through first loop...
    By ThomasCarter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-18-2012, 01:25 PM
  5. Do loop not running
    By hattrick_123a in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-21-2011, 08:36 PM
  6. Loop not running
    By T De Villiers in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-12-2006, 10:26 AM

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