I am playing with the idea of checking a cell's value against a reference table. In my original document it has to be a table because the number of rows is always changing. I have played with two simple FOR loops, but it seems that I have not been able to declare the color of the reference cell as a variable. I have been able to check the value of the cell by using:
If inputCell.Value = Cells(i, 1) Then inputCell.Interior.Color = RGB(255, 0, 0) and it changes the according cells.
I need the final program to cycle through the list in the reference table ("Table1") and pull the Interior.Color of each cell IF inputCell.Value = Cells(i, 1) ELSE move on to the next row.
My final project is a bit more complicated so I decided to boil it down into a simple one worksheet document. Does anyone know a simple (or simpler) solution to validate EACH cell in a table against EACH cell in another table?
Thanks in advance
Bookmarks