Sub Hoa()
Range("HOA1").Interior.ColorIndex = 3
Range("HOA2").Interior.ColorIndex = 3
Range("THAN").Interior.ColorIndex = 50
End Sub
Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Range("AA18").Activate
Selection.Interior.ColorIndex = 50
With Selection.Interior
.ColorIndex = 3: .Pattern = xlSolid
End With
Sub ToMau(Rng As Range, ChiSo As Byte)
Dim lJ As Long, lZ As Single
Sleep 150
With Rng.Interior
.ColorIndex = ChiSo: .Pattern = xlSolid
End With
End Sub