I use this macro to hide older than today rows.
The problem is that it runs for the already hidden rows and thus it takes forever to complete
because there are more than 1500 rows in the table...
ver
office 2019 and office 2021
Any ideas??
--------------------------------------
Sub HIDE_OLDER() Dim i As Long Dim TODAY As Date Sheets("LOG").Activate For i = ActiveSheet.UsedRange.Rows.Count To 3 Step -1 Range("b" & i).Select If ActiveCell.Value < Date Then ActiveCell.EntireRow.Hidden = True Else End If Next i End Sub
Bookmarks