Hi all,
I'm looking for some assistance in modifying a macro to expand what it's searching for/returning.
I have data in about 150 worksheets within a workbook, within each worksheet there are certain keywords that I'm searching for (Employee ID being the first, with cost centre and location also being required.
The following code will search through all sheets looking for Employee ID, provided some text is in at least column A it will copy the row across to a separate sheet (summary tab) along with the sheet name being dropped into column O.
I'm looking for help in doing two things:
1. Expanding the search criteria to include more than one text string (3 or 4 would be ideal)
2. Understanding what happens when the data doesn't start in column A (as the results are intermittent).
I've attached sample workbook showing how it works.Searching for Text.xlsm
Any help would be appreciated.
Cheers
David
Bookmarks