Inquiring_Minds
New Member
- Joined
- Jan 5, 2023
- Messages
- 10
- Office Version
- 2016
- Platform
- Windows
I am using the below for the red/green clicks on cell, but I want to add another click to have the original no fill color show... or if there is a way that I can revert the clicked cells to the original color? I'm not sure if my question makes sense.
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Target.Interior.Color = vbGreen
End Sub
Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean)
Target.Interior.Color = vbRed
End Sub
I'm creating a checklist/spreadsheet for multiple users and do not want to have wording in the cell, just colors.
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Target.Interior.Color = vbGreen
End Sub
Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean)
Target.Interior.Color = vbRed
End Sub
I'm creating a checklist/spreadsheet for multiple users and do not want to have wording in the cell, just colors.