LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Rows hidden by Autofilter vs hidden by changing the Hidden property

Hi, does anyone know how to determine if a Row is currently hidden by an
autofilter? If a row is hidden (by an autofilter or by changing the
EntireRow.Hidden property to True), the Hidden property of the EntireRow
returns True. Therefore the Hidden property cannot be used to determine if
the row has been hidden by an autofilter or not.

If a row is hidden by criteria of an AutoFilter, it does not function as
when hidden in other ways. This example demonstrates this:
An autofilter has a criteria applied- rows 3 and 4 are hidden as a result.
If you select Rows 2 to 5 and apply a specific formatting, the formatting
only is applied to the visible rows, i.e. 2 and 5, not 3 and 4.
If, on the other hand, you do Rows("3:4").hidden = true, then select Rows 2
to 5 and apply a specific formatting, the formatting is applied to both
visible and hidden rows, i.e. 2 to 5.

Is there a property that can tell me this "hidden level"?

Thank you very much.

Leo



 
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
opening a group but keep hidden rows hidden MWL Excel Discussion (Misc queries) 0 February 17th 09 03:16 PM
Hidden rows columns won't stay hidden christie Excel Worksheet Functions 0 September 30th 08 05:44 PM
Formula or Code to keep Hidden Rows Hidden Carol Excel Worksheet Functions 6 May 1st 07 11:45 PM
I need my Hidden Rows to stay hidden when I print the sheet. Rosaliewoo Excel Discussion (Misc queries) 2 July 20th 06 07:51 PM
AutoFilter & Hidden Rows John[_88_] Excel Programming 2 July 22nd 04 03:28 AM


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