[SOLVED] Hi. I posted a problem on another forum (computing.net), and got a part resolution.
Basically, i have a piece of code that does the following:
1 - Sheet 1 Row 1 contains Column Headings.
2 - Sheet 2 is the destination sheet for the copied rows.
3 - You want the same Column Headings on Sheet 2 that are on Sheet 1.
4 - Sheet 3 Column A contains the list of names to search for, starting in A2.
Before running the following code, place the list of Names to be searched for in Sheet 3 Column A, starting in A2.
I suggest running the code in a backup copy of your workbook since macros can not be undone.
My further issue is with point 4 above. The code assumes that the cell in sheet 1 only contains a single word (i.e. a list of surnames for example). But i need the code to search through a paragraph that is contained in the cell and return the match values to sheet 2. (For example, instead of just looking at the 1st word or a single word in the cell in sheet 1, it scans the whole cell for the word, and once the word is matched, the whole row is returned to sheet 2). The list of words in sheet 3 will be single words (i,e, surnames)
I'm not sure if i am explaining it correctly, but hopefully someone can pick this up and modify the code above.
am happy to send over an example spreadsheet if required.
Thanks in advance
Bookmarks