#1   Report Post  
Curt
 
Posts: n/a
Default Hidden Rows

Is there a way to hide a row till information is entered?

Example: If cell c1 0 then rows 7 through 10 will be visible else they
will be hidden.
--
Thanks
  #2   Report Post  
Don Guillett
 
Posts: n/a
Default

You can use a worksheet_change event macro. Right click sheet tabview code

--
Don Guillett
SalesAid Software

"Curt" wrote in message
...
Is there a way to hide a row till information is entered?

Example: If cell c1 0 then rows 7 through 10 will be visible else they
will be hidden.
--
Thanks



  #3   Report Post  
Curt
 
Posts: n/a
Default

This is the code I am using but it keeps giving me an error:

If c1 0 Then Row([7]).Visible Else Row([7]).Hidden

Where is my syntax wrong at???
--
Thanks


"Don Guillett" wrote:

You can use a worksheet_change event macro. Right click sheet tabview code

--
Don Guillett
SalesAid Software

"Curt" wrote in message
...
Is there a way to hide a row till information is entered?

Example: If cell c1 0 then rows 7 through 10 will be visible else they
will be hidden.
--
Thanks




  #4   Report Post  
Chip Pearson
 
Posts: n/a
Default

Try

If Range("C1").Value 0 Then
Rows(7).Hidden = False
Else
Rows(7).Hidden = True
End If



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Curt" wrote in message
...
This is the code I am using but it keeps giving me an error:

If c1 0 Then Row([7]).Visible Else Row([7]).Hidden

Where is my syntax wrong at???
--
Thanks


"Don Guillett" wrote:

You can use a worksheet_change event macro. Right click sheet
tabview code

--
Don Guillett
SalesAid Software

"Curt" wrote in message
...
Is there a way to hide a row till information is entered?

Example: If cell c1 0 then rows 7 through 10 will be
visible else they
will be hidden.
--
Thanks






  #5   Report Post  
Curt
 
Posts: n/a
Default

Thank you Chip, it works great


--
Thanks


"Chip Pearson" wrote:

Try

If Range("C1").Value 0 Then
Rows(7).Hidden = False
Else
Rows(7).Hidden = True
End If



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Curt" wrote in message
...
This is the code I am using but it keeps giving me an error:

If c1 0 Then Row([7]).Visible Else Row([7]).Hidden

Where is my syntax wrong at???
--
Thanks


"Don Guillett" wrote:

You can use a worksheet_change event macro. Right click sheet
tabview code

--
Don Guillett
SalesAid Software

"Curt" wrote in message
...
Is there a way to hide a row till information is entered?

Example: If cell c1 0 then rows 7 through 10 will be
visible else they
will be hidden.
--
Thanks






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
change excel row height without showing hidden rows LL Excel Worksheet Functions 1 April 15th 05 06:24 PM
hidden rows & columns slow file open Simon Shaw Excel Discussion (Misc queries) 0 April 5th 05 12:21 AM
Ignore Hidden Rows in Sum Function? Jugglertwo Excel Discussion (Misc queries) 3 February 10th 05 01:00 AM
Can't See Rows (not hidden) ChrisW Excel Discussion (Misc queries) 2 January 7th 05 03:25 PM
Can't See Rows (not hidden) Chris Excel Discussion (Misc queries) 1 January 7th 05 02:51 PM


All times are GMT +1. The time now is 02:20 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"