Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Unhiding hidden rows in a worksheet

I need a procedure that will unhide all the hidden rows on a worksheet.

I cannot figure out how to do this.

The main stumbling block is detecting whether any rows on the worksheet and
which ones they are. Assume the hidden rows are continguous.

Any ideas?

Thank you.

John Wirt


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default Unhiding hidden rows in a worksheet

If you want to unhide ALL rows on a sheet then you do not need to know which,
if any, are hidden. Simply

Rows("1:" & Rows.Count).EntireRow.Hidden = False

Hope this helps
Rowan

"John Wirt" wrote:

I need a procedure that will unhide all the hidden rows on a worksheet.

I cannot figure out how to do this.

The main stumbling block is detecting whether any rows on the worksheet and
which ones they are. Assume the hidden rows are continguous.

Any ideas?

Thank you.

John Wirt



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Unhiding hidden rows in a worksheet

Hi John,

Alteratively, try:

Cells.Rows.Hidden = False


---
Regards,
Norman



"John Wirt" wrote in message
...
I need a procedure that will unhide all the hidden rows on a worksheet.

I cannot figure out how to do this.

The main stumbling block is detecting whether any rows on the worksheet
and
which ones they are. Assume the hidden rows are continguous.

Any ideas?

Thank you.

John Wirt




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
Problem with hidden rows automatically unhiding scarlet Excel Discussion (Misc queries) 2 December 7th 09 01:42 PM
hidden rows but not from hiding/unhiding? Reeder88 Excel Discussion (Misc queries) 1 March 12th 08 06:14 PM
How do I prevent hidden rows from unhiding when resizing row ht? posdude Excel Discussion (Misc queries) 0 September 20th 06 05:18 PM
Unhiding All hidden Worksheets with a Macro/VBA Code robertguy Excel Discussion (Misc queries) 2 December 2nd 05 03:10 PM
hidden rows keep unhiding themselves! Markathepub Excel Discussion (Misc queries) 2 November 29th 05 04:39 PM


All times are GMT +1. The time now is 12:49 PM.

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

About Us

"It's about Microsoft Excel"