Hình mẫu:
Mở VBA: Alt+F11
Conditionnal Formatting:
=ROW()=CELL("Row")
=Column()=Cell("Col")
=And(Row()=Cell("Row"),Column()=Cell("Col"))
VBA:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Application.ScreenUpdating = True
End Sub
B1: Các bạn vào Home chọn Conditional Formatting chọn New Rule