+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Copy/paste rows based on approximate search condition?

  1. #1
    Registered User
    Join Date
    09-07-2010
    Location
    Bedford
    MS-Off Ver
    Excel 2007
    Posts
    1

    Copy/paste rows based on approximate search condition?

    Hi guys,

    I am having trouble programming a macro that will retrieve entire rows of data from a reference workbook that contain a desired value in the H column. The trouble is, I would like the desired value to correspond approximately with a cell value on the first sheet in the following way.

    Say for example the original sheet contains "John Smith" in cell A2. I would like the macro to search for and copy/paste into this sheet all rows of data from the reference workbook for which row H is titled "Smith"

    If its too much trouble, I can use an exact match there.

    I cant say I have any code to show you as every attempt I make at this seems to hit further from the mark. Thank you all so much in advance for your help.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,082

    Re: Copy/paste rows based on approximate search condition?

    It would, however, be useful to have a sample workbook to look at.

    Regards

+ 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