+ Reply to Thread
Results 1 to 5 of 5

Copy Rows to New Worksheets Based on Fluctuating Text Cell Values

  1. #1
    Registered User
    Join Date
    10-22-2012
    Location
    washington, dc
    MS-Off Ver
    excel 2010
    Posts
    4

    Copy Rows to New Worksheets Based on Fluctuating Text Cell Values

    Hello everyone and thanks for taking the time and helping me with my dilema. I have searched and searched and, probably because I am a VBA novice, cannot find exactly what I need.
    I have seen a couple of posts that seem similar to my issue, but there are no additional posts to the questions. My fingers are crossed that maybe my problem is not as demanding.

    Here is my dilema: I am using Excel 2010 and I would like to program my spreadsheet to:

    1 - Copy entire rows based on column A's general cell value to a new worksheet.
    2 - Copy the same header row to each new worksheet.
    3 - Copy all formulas.
    4 - Use the cell value in A2 to name each new worksheet.

    I have attached a sample spreadsheet.

    I am hopeful my dilema can be resolved quickly by the EXCEL gods!
    Attached Files Attached Files
    Last edited by Icky_Joe; 04-17-2013 at 10:11 AM.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Copy Rows to New Worksheets Based on Fluctuating Text Cell Values

    Try the attached
    Attached Files Attached Files

  3. #3
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Copy Rows to New Worksheets Based on Fluctuating Text Cell Values

    Perhaps like this?

    To test run macro "Split_data". If you do a rerun macro starts by deliting all sheets except "Sheet1" then it extracts info and adds sheets based unique numbers in column A.

    Alf
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-22-2012
    Location
    washington, dc
    MS-Off Ver
    excel 2010
    Posts
    4

    Thumbs up Re: Copy Rows to New Worksheets Based on Fluctuating Text Cell Values

    Thanks a million for the extremely quick response. Both of these solutions work perfectly!!!

  5. #5
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Copy Rows to New Worksheets Based on Fluctuating Text Cell Values

    Thanks for feed back, don't forget to mark your thread solved.

    Alf

    To mark your thread solved do the following:
    - Go to the first post
    - Click edit
    - Click Advance
    - Just below the word "Title:" you will see a dropdown with the word No prefix.
    - Change to Solve
    - Click Save

+ 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