Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
dk dk is offline
external usenet poster
 
Posts: 129
Default determine if there are hidden rows in a column

is there a way with vba to determine if
there are hidden rows in a column or range, without
looping through entire range?

tia,
dk
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 272
Default determine if there are hidden rows in a column

You can tell if there are hidden rows using this:
If YourRange.Cells.Count YourRange.SpecialCells(xlCellTypeVisible).Count
Then
Msgbox "You have hidden cells"
End If
Then you can return the address of the visible ones like this:
MsgBox YourRange.SpecialCells(xlCellTypeVisible).Address
--
Charles Chickering

"A good example is twice the value of good advice."


"dk" wrote:

is there a way with vba to determine if
there are hidden rows in a column or range, without
looping through entire range?

tia,
dk

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
How do I add up column of numbers without including hidden rows? laserhallam Excel Discussion (Misc queries) 3 February 1st 08 05:35 AM
Sum of a column excluding hidden rows mnwild1 Excel Worksheet Functions 10 June 22nd 07 11:24 PM
Last cell in column (with hidden rows) Pink Panther Excel Programming 2 July 8th 05 09:19 PM
Column Auto Width and Hidden Rows KWCounter Excel Discussion (Misc queries) 1 May 20th 05 12:59 AM
How to Determine if column of certain rows in a text file has data? Tony Excel Programming 1 February 1st 05 08:01 AM


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

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"