lpking2005
Board Regular
- Joined
- Mar 21, 2011
- Messages
- 140
hi,
I have cell ("D43"), which has conditional formatting.
What I want is to Hide the Row (43), if the conditional formatting = true
But i cant seem to get it to work.
my current code is:
I have cell ("D43"), which has conditional formatting.
What I want is to Hide the Row (43), if the conditional formatting = true
But i cant seem to get it to work.
my current code is:
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
'===================================================================
'Hide row 43 when Cell "Rotate" message is not visible
'===================================================================
If Range("D43").Condition1 = True Then
Range(Rows(43)).Hidden = False
Else
Range(Rows(43)).Hidden = True
End If
End Sub