Sub Macro1()
Range("a1:a15").Select
Selection.Name = "GL"
Range("b1:b10").Select
Selection.Name = "Stmt"
For Each cell In Range("GL")
If cell.Value = Range("b1") Then
cell.Interior.ColorIndex = 37
Range("b1").Interior.ColorIndex = 36
End If
If cell.Value = Range("b2") Then
cell.Interior.ColorIndex = 37
Range("b2").Interior.ColorIndex = 36
End If
If cell.Value = Range("b3") Then
cell.Interior.ColorIndex = 37
Range("b3").Interior.ColorIndex = 36
End If
If cell.Value = Range("b4") Then
cell.Interior.ColorIndex = 37
Range("b4").Interior.ColorIndex = 36
End If
If cell.Value = Range("b5") Then
cell.Interior.ColorIndex = 37
Range("b5").Interior.ColorIndex = 36
End If
If cell.Value = Range("b6") Then
cell.Interior.ColorIndex = 37
Range("b6").Interior.ColorIndex = 36
End If
If cell.Value = Range("b7") Then
cell.Interior.ColorIndex = 37
Range("b7").Interior.ColorIndex = 36
End If
If cell.Value = Range("b8") Then
cell.Interior.ColorIndex = 37
Range("b8").Interior.ColorIndex = 36
End If
If cell.Value = Range("b9") Then
cell.Interior.ColorIndex = 37
Range("b9").Interior.ColorIndex = 36
End If
If cell.Value = Range("b10") Then
cell.Interior.ColorIndex = 37
Range("b10").Interior.ColorIndex = 36
End If
Next cell
End Sub