+ Reply to Thread
Results 1 to 2 of 2

Loop through groups of rows separated by empty cells

Hybrid View

  1. #1
    Registered User
    Join Date
    03-07-2012
    Location
    chicago
    MS-Off Ver
    Excel 2003
    Posts
    1

    Loop through groups of rows separated by empty cells

    Greetings,

    I'm looking for a macro that can loop through a column with rows separated by empty cells and copy the group of rows to its own sheet. After running the macro file will have several thousand sheets each with a set of 2-5 rows corresponding to a matching set of keywords.

    Please see attached. The macro should loop through Col A, and every time a blank is encountered it will copy the set of rows to a new sheet. At least I think that's the approach that should be taken...

    I hope this made sense..

    Any help would be greatly appreciated! I'm a newbie and not sure even where to start.
    Attached Files Attached Files
    Last edited by wmbower; 08-30-2012 at 11:13 AM. Reason: clarification

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Loop through groups of rows separated by empty cells

    Hi wmbower

    How do you wish the new sheets to be named?
    Do you want the Header Row in the new sheets?
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ 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