+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : How to create a loop with this code?

  1. #1
    Registered User
    Join Date
    08-08-2008
    Location
    Johannesburg
    MS-Off Ver
    2007
    Posts
    55

    How to create a loop with this code?

    Hi All
    I'm using this code to populate a list of 'names'
    in to a new range where each 'name'/(cell) have 22 cells space between each other:
    Please Login or Register  to view this content.
    This is a very long list (avg' of 100 'names')
    So I need to loop this action to have a better macro code
    Also the macro must use the cell "A7" to get the number of loops.
    (So if "A7" contains 76, the macro will loop for 76 times)

    Any suggestions to how should I go with this?

    Many thanks for your help,

    Amit
    Last edited by furiousfox; 05-23-2010 at 07:52 AM.
    Using Excel 2007.
    Amit Cohen

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: How to create a loop with this code?

    hi furiousfox
    something like
    Please Login or Register  to view this content.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Registered User
    Join Date
    08-08-2008
    Location
    Johannesburg
    MS-Off Ver
    2007
    Posts
    55

    Re: How to create a loop with this code?

    Nice, quick, smooth, perfect!

    Thank you !!!

  4. #4
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: How to create a loop with this code?

    welcome, thanks for posting

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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