I would identify the matches on the sheet by using MATCH.
Put a formula in sheet1 cell B1 like =MATCH(A1,Sheet2!$A$1:$A$7,0) you will
get the row number of the corresponding value (or #N/A if there is no match).
You can then use the row number in the macro.