Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I need some help modifying this "hide row" macro to operate accross sheets 3, 4, & 5 rather than just sheet 1. I realize that I can just copy the same code several times (changing the sheet reference) but I was hoping there is an eaiser way to define a multiple sheet array for this. Thanks in advance, What is the Dim cell As Range With ActiveSheet.UsedRange .Rows.Hidden = False For Each cell In Worksheets("Sheet1").Range("h1:h100") If cell.Text = "No" Then cell.EntireRow.Hidden = True Next cell End With |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Modify macro code to export multiple cell contents to multiple Text Files | Excel Programming | |||
Defining a function to use multiple places in code | Excel Programming | |||
Array, multiple sheets | Excel Programming | |||
Printing multiple sheets in an array | Excel Programming | |||
selecting multiple sheets by use of an array? | Excel Programming |