Hello,
I need VBA code that will hide the entire row if a cell in column E is blank.
Please help!!
Hello,
I need VBA code that will hide the entire row if a cell in column E is blank.
Please help!!
Why don't you just use Autofilter?
Record a macro while you go through the steps manually.
That should get you most of the way there.
Regards, TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
Consider:
![]()
Sub HideRows() Dim rHide As Range, r As Range Set rHide = Intersect(ActiveSheet.UsedRange, Range("E:E")) For Each r In rHide If r.Value = "" Then r.EntireRow.Hidden = True End If Next End Sub
Gary's Student
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks