Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Unhide rows macro
I am looking for a macro that will look in column C from row 7 down to 206
and find the first cell that is blank in in col C and unhide that along with the next 9 rows. For example, if I have data input in cells C7:C100, the macro would then unhide C101:C110. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Unhide rows macro
Sub Macro()
Dim lngRow as long lngRow = ActiveSheet.Range("C7").End(xlDown).Row + 1 Rows(lngRow & ":" & lngRow + 9).Hidden = False End Sub -- If this post helps click Yes --------------- Jacob Skaria "GoBucks" wrote: I am looking for a macro that will look in column C from row 7 down to 206 and find the first cell that is blank in in col C and unhide that along with the next 9 rows. For example, if I have data input in cells C7:C100, the macro would then unhide C101:C110. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Unhide rows macro
Thank you Jacob!!!!
"Jacob Skaria" wrote: Sub Macro() Dim lngRow as long lngRow = ActiveSheet.Range("C7").End(xlDown).Row + 1 Rows(lngRow & ":" & lngRow + 9).Hidden = False End Sub -- If this post helps click Yes --------------- Jacob Skaria "GoBucks" wrote: I am looking for a macro that will look in column C from row 7 down to 206 and find the first cell that is blank in in col C and unhide that along with the next 9 rows. For example, if I have data input in cells C7:C100, the macro would then unhide C101:C110. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Code to Unhide Rows using Macro | Excel Worksheet Functions | |||
Macro to Unhide Rows | Excel Programming | |||
Can you hide and unhide rows with a macro based on content of colu | Excel Programming | |||
Macro that will unhide then hide rows | Excel Discussion (Misc queries) | |||
How do I hide or unhide zero value columns/rows USING A MACRO? | Excel Discussion (Misc queries) |