Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Code to Unhide Rows using Macro Rajat Excel Worksheet Functions 7 January 14th 10 06:56 PM
Macro to Unhide Rows RLY Excel Programming 4 April 13th 09 07:02 PM
Can you hide and unhide rows with a macro based on content of colu Husker87 Excel Programming 4 September 24th 08 01:06 AM
Macro that will unhide then hide rows minka Excel Discussion (Misc queries) 10 October 21st 06 01:37 PM
How do I hide or unhide zero value columns/rows USING A MACRO? paul Excel Discussion (Misc queries) 1 January 23rd 06 03:06 PM


All times are GMT +1. The time now is 06:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"