Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Option Explicit
- Public Sub tmpSO()
- Dim cell As Range
- For Each cell In Sheet1.Range("A1:B10")
- If cell.Value2 <> Sheet2.Cells(cell.Row, cell.Column).Value2 Then
- cell.Interior.Color = vbRed
- End If
- Next cell
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement