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: 1
Default Finding row count and filtered rows returned by Autofilter

I need to be able to find and use:

1. the row (record) count returned by Autofilter;
2. the row (record) numbers returned by Autofilter.

These are displayed in the Excel StatusBar as (eg):

3 records of 8 found

I need the count, and I need to be able to "loop" through
all rows returned -- ie, the filtered rows with data
matching Criteria1.

Range("A1").SpecialCells(xlVisible).Count does NOT do it.
Range("A1").SpecialCells(xlCellTypeLastCell).Row does NOT
do it.

Note: I access a spreadsheet created as Private by an
application developed in VisualBasic 6.0.

Barring direct access to this information, can I get the
*TEXT* itself of the Excel StatusBar?

Application.DisplayStatusBar always returns Boolean.
Application.StatusBar always returns Boolean.

Doesn't help.


 
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 count rows in a filtered list when using AutoFilter? chiefcook Excel Worksheet Functions 6 November 10th 08 09:21 AM
Autofilter and count on filtered data gr8posts Excel Worksheet Functions 7 October 19th 07 09:17 PM
Display count of filtered rows Eric Excel Discussion (Misc queries) 2 January 14th 07 09:33 PM
How do I count the number of filtered rows 2D Rick Excel Worksheet Functions 2 January 7th 07 03:36 AM
How can I make autofilter show the filtered number of rows bsell123 Excel Worksheet Functions 1 October 28th 04 06:12 PM


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