Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
This code works but, I want to hide rows within this range (rows 5:154) only Sub HideBlankRows() Dim RngCol As Range Dim i As Range Set RngCol = Range("A1:A20", Range("A" & _ Rows.Count).End(xlUp).Address) For Each i In RngCol If i.Value = "" Or i.Value = "*" Then i.EntireRow.Hidden = True Next i End Sub Thanks in advance for the help Marc |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to HIDE blank rows | Excel Worksheet Functions | |||
Hide Blank Rows | Excel Worksheet Functions | |||
Hide rows of cells that are blank | Excel Discussion (Misc queries) | |||
Hide Blank Rows | Excel Worksheet Functions | |||
Hide columns & rows that contain "0" or blank in a range of cells | Excel Worksheet Functions |