+ Reply to Thread
Results 1 to 3 of 3

Copy a row to a worksheet when cell value equals the worksheet name

  1. #1
    Registered User
    Join Date
    06-25-2014
    Location
    Palm Springs, CA
    MS-Off Ver
    2010
    Posts
    2

    Copy a row to a worksheet when cell value equals the worksheet name

    Hello,

    I have a workbook comprised of about 400 worksheets. I also have a summary page that lists tons of information that I need to automatically be sent to its respected worksheet. On the summary page I have the list of worksheet names in column A starting with cell A3. I am trying to get everything in that row to go to each specific worksheet. Is there a MACRO I can use to do this? Thanks for the help guys!!

    Example

    Tract date comments

    1A 10/21/2013 No Comments
    1B 10/21/2013 No Comments
    1C 10/21/2013 No Comments
    1D 10/21/2013 No Comments

    worksheet names summary/ 1A/ 1B/ 1C/ 1D/

  2. #2
    Forum Contributor pareshj's Avatar
    Join Date
    05-20-2014
    Location
    MUMBAI
    MS-Off Ver
    2007 & 2010
    Posts
    447

    Re: Copy a row to a worksheet when cell value equals the worksheet name

    Hi jakebrad38,

    Check the attached macro. Hope this will help you.

    Jakebrad38.xlsm

    Note: In order to run this macro, you need to have following things in place:
    1) Number of columns and the Order of columns should be same in all the worksheets .
    2) If there exists multiple rows for one worksheet in Summary worksheet then you need to change the code as this macro was built as per the sample data provided by you.
    Example : If you have record for 1A at row 3 and again you have data for 1A at row 10 then you need to change the code slightly.



    Regards,
    Paresh J
    Click on "* Add Reputation" as a way to say thanks

  3. #3
    Registered User
    Join Date
    06-25-2014
    Location
    Palm Springs, CA
    MS-Off Ver
    2010
    Posts
    2

    Cool Re: Copy a row to a worksheet when cell value equals the worksheet name

    PARESHJ,

    Thanks for the reply. I feel like I gave you a bad example. Attached is a mockup of my spreadsheet.
    Attached Files Attached Files

+ 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. Replies: 3
    Last Post: 05-26-2014, 02:21 AM
  2. [SOLVED] Print Active Worksheet if value of Cell C2 equals 1
    By mspeck in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-09-2013, 11:11 AM
  3. variable equals cell value in other worksheet
    By BHudPE in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-06-2010, 09:38 PM
  4. Replies: 3
    Last Post: 10-16-2009, 01:41 PM
  5. Cell equals value if worksheet is locked
    By ryangler in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-07-2009, 02:55 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