cadman33619,
Welcome to the forum.
Before going into the macro, let me define a couple things:
wbDest: short for Destination Workbook. This is the workbook that contains the list of you want to find in a different workbook
wbData: short for Data Workbook. This is the workbook that will be searched for the list of items.
You did not specify where the list of items in wbDest would be located, so the macro assumes that they're in column A starting at row 1 of the activesheet. You can change the column letter and startrow number in the macro as necessary.
You also did not specify what you want to happen once a match has been found. Do you want to return an adjacent cell's value to wbDest? Do you want to delete the match in wbDest or wbData? Do you want to highlight the match in both workbooks (or just one)? Without knowing what to do once a match was found, I simply have the macro record the sheetname and cell address of the match and display the data to you in a message box at the end of the routine.
That should get you started. Here's the macro:
Hope that helps,
~tigeravatar
Bookmarks