+ Reply to Thread
Results 1 to 4 of 4

match items and copy the entire row to a new worksheet

  1. #1
    Registered User
    Join Date
    07-26-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    15

    match items and copy the entire row to a new worksheet

    I have 2 worksheet with different contents but 2 of the worksheets have same unique IDs in Column A in Worksheet "Database" and in Column B in Worksheet "Sheet2". I want the vba code to find that particular ID from Worksheet "Sheet 2" and worksheet "Database" and copy me the entire row from Worksheet("database") to a new worksheet "Sheet1". Below is the code but the row which is copying is not correct.

    Please Login or Register  to view this content.
    Can you please help me?

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

    Re: match items and copy the entire row to a new worksheet

    Please attach a sample

  3. #3
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: match items and copy the entire row to a new worksheet

    Hi GordonHK,

    please try this :

    Please Login or Register  to view this content.
    Please click the * below if this helps
    Last edited by JasperD; 08-23-2013 at 10:24 AM.
    Please click the * below if this helps

  4. #4
    Registered User
    Join Date
    07-26-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: match items and copy the entire row to a new worksheet

    OMG works perfectly... Thanks JasperD

+ 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. match cell from array and copy entire row
    By aharb in forum Excel General
    Replies: 17
    Last Post: 03-23-2011, 10:46 AM
  2. Match cell value and copy entire row to new sheet
    By smfar777 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-11-2010, 06:43 AM
  3. Match a cell value and copy entire row to new sheet
    By smfar777 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-05-2010, 07:42 PM
  4. Index match to VBA copy the found entire row
    By Sjaaktrekhaak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-20-2009, 03:22 AM
  5. Match 1 criteria if matches then copy the entire row plus 1 row above and below
    By khalid79m in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-27-2007, 11:32 AM

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