It's only when one runs one's macro does one see the flaws in it. I found that In need to not only highlight if the values are different between sheet 1 and sheet 2 but also if the interior color is different.
I tried adding the line
If Worksheets("max").Cells(i, j).Interior.Color <> Worksheets("mine").Cells(i, j) Then
If Worksheets("max").Cells(i, j).Value <> Worksheets("mine").Cells(i, j) Then
and added an additional end if, the macro still runs, takes longer to run but doesn't actually highlight a cell where the value on (e.g.) sheet1 cell a1 = the value of sheet2 cell a1 but where the fill color of the cell differs. I would have thought my addition would have done it ...but it doesn't seem to!
Bookmarks