Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
johli
 
Posts: n/a
Default conditional counting of autolist cells/rows


Having a bit of a problem with autolist/count function

Have written a function for counting visible cells for an autolist.
Was hoping that the following code would work:
Rng is the range for the autolist column in question:

rng.SpecialCells(xlCellTypeVisible).count - should count the visible
cells.

this counts all rows not just the visible ones...

would like to use countif to count conditionally to like:

worksheetfunction.CountIf(rng.SpecialCells(xlCellT ypeVisible),3) -
should count visible cells with he value 3 in he appropriate column...

Probably me being stupid but why doesn't it work, please help!!

/Johan Litsén


--
johli
------------------------------------------------------------------------
johli's Profile: http://www.excelforum.com/member.php...o&userid=27388
View this thread: http://www.excelforum.com/showthread...hreadid=470203

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
VLOOKUP & Conditional Formating Help. Excel'ed Failures Excel Discussion (Misc queries) 6 August 16th 05 04:46 PM
Counting the number of cells meeting conditional formating criteria Jeff Excel Worksheet Functions 4 July 9th 05 01:18 AM
conditional counting jim314 Excel Discussion (Misc queries) 5 June 22nd 05 12:36 AM
counting cells with conditional formatting applied HalB Excel Discussion (Misc queries) 3 February 21st 05 01:21 PM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM


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