hello
i am not good with VBA but i want to make a code in one of of the pages in my excel file so that if nothing appears in a cell in the range of C4 to C23 then the row is automatically hidden and and if something appears the row unhides
dunno if this matters but those cells will show info that come from info on another sheet.
i saw this code on another thread here but i don't know how to adjust this to fit my setting
Private Sub Worksheet_Calculate()
Dim i As Long
For i = 9 To 53
Rows(i).Hidden = Range("A" & i).Value = ""
Next i
End Sub
if anyone knwo how to do this or advice on a better idea please help
i hope you guys understand what i am saying
i am not good with VBA but i want to make a code in one of of the pages in my excel file so that if nothing appears in a cell in the range of C4 to C23 then the row is automatically hidden and and if something appears the row unhides
dunno if this matters but those cells will show info that come from info on another sheet.
i saw this code on another thread here but i don't know how to adjust this to fit my setting
Private Sub Worksheet_Calculate()
Dim i As Long
For i = 9 To 53
Rows(i).Hidden = Range("A" & i).Value = ""
Next i
End Sub
if anyone knwo how to do this or advice on a better idea please help
i hope you guys understand what i am saying