HI, i have the following macro to autohide some rows with no data, however its remove rows starting from column A.
How do i fix this to only hide the rows in the range (H4:V50)?![]()
Sub Hide_Rows() BeginRow = 4 EndRow = 50 ChkCol = 8 For RowCnt = BeginRow To EndRow If Cells(RowCnt, ChkCol).Value < 1 Then Cells(RowCnt, ChkCol).EntireRow.Hidden = True Else Cells(RowCnt, ChkCol).EntireRow.Hidden = False End If Next RowCnt End Sub
Thanks!!!
Bookmarks