Jagat Pavasia
Active Member
- Joined
- Mar 9, 2015
- Messages
- 406
- Office Version
- 2021
- Platform
- Windows
dear sir/madam,
i have a VBA code work well when I manually change the cell colour format .
but my source cell is conditionally changed colour then my below VBA did not work.
please help me
i have a VBA code work well when I manually change the cell colour format .
but my source cell is conditionally changed colour then my below VBA did not work.
please help me
VBA Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Worksheets("Sheet1").Range("A2").Interior.Color = Worksheets("Sheet3").Range("C6").Interior.Color
Worksheets("Sheet1").Range("A5").Interior.Color = Worksheets("Sheet3").Range("C7").Interior.Color
End Sub