I cant seem how to figure this out. essentially here is what im trying to do

from A7 to a blank cell.. (the report generated will fill anywhere from 15-500 lines.. )
i need a macro to check A7 against a list of variables predefined inside the macro.
and highlight those that are true
originally i had a list in excel sheet im trying to eliminate that step and go with it just in a macro.

so given

A
8415
8465
8455
8495

so the macro will run starting at A7 and check each cell against a list of varibales "XXXX" and "YYYY" and highlight if they match. and end at a blank cell

thanks for any assistance