+ Reply to Thread
Results 1 to 11 of 11

Copy Rows to other worksheets

  1. #1
    Registered User
    Join Date
    12-26-2013
    Location
    Work
    MS-Off Ver
    Excel 2002
    Posts
    8

    Copy Rows to other worksheets

    I am new here but need help with this problem. I am new to excel and have bit off more than I can chew.

    I want rows from Warranty tracking sheet to copy to sheet2 when a check of cells in "I" are marked with "NR". If there is no "NR" then do not copy the row to sheet2. Any help would really appreciated

    RT Tracking Sheet Sample.xls
    Last edited by JBeaucaire; 12-30-2013 at 11:33 AM. Reason: Moved to its own thread. PLEASE stop and read the Forum Rules. Link is above in menu bar. Thanks.

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

    Re: Copy Rows to other worksheets

    You have created lots of confusion by posting on many threads.

    I replied to this thread with out checking the OP.

    http://www.excelforum.com/excel-gene...ific-data.html

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

    Re: Copy Rows to other worksheets

    snobl01,
    This is the correct post. I have attached the code and follow the above link.

  4. #4
    Registered User
    Join Date
    12-26-2013
    Location
    Work
    MS-Off Ver
    Excel 2002
    Posts
    8

    Re: Copy Rows to other worksheets

    Thanks for the guidance here!! for me it is very intimidating!! I did read the rules but was unclear how to start a thread so thought I would take a chance someone would guide me. I tried the file that you sent, it is very close just a couple things I forgot to request. If there is an "NR" in column "I" then copy to sheet2 also if I run multiple times it will not add duplicate entries. Again thanks a lot.

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

    Re: Copy Rows to other worksheets

    I am not sure how you want to handle the duplicates.
    One way would be to clear the existing data in sheet2 and then re-populate it with fresh data
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    12-26-2013
    Location
    Work
    MS-Off Ver
    Excel 2002
    Posts
    8

    Re: Copy Rows to other worksheets

    That would be fine. The file is supplied is just a sample my actual file is going to be hundreds of rows and several more columns. If you do not see an issue with clearing and re-populating everyday then that's fine with me.

  7. #7
    Registered User
    Join Date
    12-26-2013
    Location
    Work
    MS-Off Ver
    Excel 2002
    Posts
    8

    Re: Copy Rows to other worksheets

    Also the file you did copies all the rows between the actual rows that I want. So if I choose rows 2 and 6 with "NR" it will copy row 2,3,4,5,6.

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

    Re: Copy Rows to other worksheets

    The code filters column I for NR. It then copies all rows (visible cells after filter) with NR to sheet2. It copies columns A-M of all rows with NR.
    Last edited by AB33; 12-30-2013 at 12:13 PM.

  9. #9
    Registered User
    Join Date
    12-26-2013
    Location
    Work
    MS-Off Ver
    Excel 2002
    Posts
    8

    Re: Copy Rows to other worksheets

    It seems to copy all rows down to and including "NR" row. When I only need the row that has the NR. The "NR" only tells me "No RMA" so sheet2 will reflect all rows that do not have an RMA.

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

    Re: Copy Rows to other worksheets

    Okay!
    Since row 2 is blank, the filter was not working. I have now corrected it.

    I have also added another different code (Below filter code) which does not depend on filter. It is flexible and works with any data format.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    12-26-2013
    Location
    Work
    MS-Off Ver
    Excel 2002
    Posts
    8

    Re: Copy Rows to other worksheets

    You my friend are a genius!! That is exactly what I need. Thanks

+ 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] Copy specific rows to another worksheets
    By vademo0o in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-23-2013, 11:38 AM
  2. [SOLVED] VBA- Copy & Paste Rows Into Different Worksheets
    By NewbieOfVBA in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-04-2012, 03:41 PM
  3. Copy rows of data to new worksheets
    By tp1962 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-10-2012, 02:23 AM
  4. copy rows from different worksheets into one worksheet
    By vyvek in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-25-2011, 12:23 AM
  5. Copy rows from different worksheets
    By cbrd in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-10-2006, 02:35 PM

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