Hi All
I'm a novice and looking for help to fix and resolve this. I thought it would be straight forward but I've been going around in circles to get it to work.
I have sheet1 with check boxes (across columns) that informs sheet2 rows if they are checked (True) or un-checked (False).
On sheet2 I need the rows with a cell value of 'False' to be hidden, and 'True' to be unhidden. This needs to auto update when the cell changes (because a box is checked).
The True/False Data on Sheet2 is in Column H from Row 9:300:
Sub Hide_Rows_Based_On_Cell_Value()
StartRow = 9
EndRow = 300
ColNum = 4
For i = StartRow To EndRow
If Cells(i, ColNum).Value = "FALSE" Then
Cells(i, ColNum).EntireRow.Hidden = True
Else
Cells(i, ColNum).EntireRow.Hidden = False
End If
Next if
End Sub
*I also added a filter and tried to get it to auto update but I couldn't get this to work either.
Thanks in advance
I'm a novice and looking for help to fix and resolve this. I thought it would be straight forward but I've been going around in circles to get it to work.
I have sheet1 with check boxes (across columns) that informs sheet2 rows if they are checked (True) or un-checked (False).
On sheet2 I need the rows with a cell value of 'False' to be hidden, and 'True' to be unhidden. This needs to auto update when the cell changes (because a box is checked).
The True/False Data on Sheet2 is in Column H from Row 9:300:
Sub Hide_Rows_Based_On_Cell_Value()
StartRow = 9
EndRow = 300
ColNum = 4
For i = StartRow To EndRow
If Cells(i, ColNum).Value = "FALSE" Then
Cells(i, ColNum).EntireRow.Hidden = True
Else
Cells(i, ColNum).EntireRow.Hidden = False
End If
Next if
End Sub
*I also added a filter and tried to get it to auto update but I couldn't get this to work either.
Thanks in advance