Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Here is my code: Set myrange = Range("A18:A1220") For Each c In myrange If Value = Empty Then c.Row.Hidden = True Next What I am trying to do is check the value on cells A18 to A1220 and if they are blank or empty then hide the entire row. However I get an error message saying the object is required. Can anyone point me in the right direction? Many thanks, Martin |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro code to hide rows and not calculate hidden rows | Excel Discussion (Misc queries) | |||
Enabling option „Format rows“ to hide/unhide rows using VBA-code? | Excel Discussion (Misc queries) | |||
Code for Excel 2007 to hide rows based on sum of several rows not ina range | Excel Programming | |||
hide multiple rows based on condition within rows | Excel Programming | |||
Specify which rows to NOT hide, and have excel hide the rest | Excel Programming |