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 How to know the total number of records in the excel sheet

Hi,
Could any help me out?

I have a VBA application where i need to know the number of records i
the sheet1. Example if
1ts row = A
2nd row = b
3rd row = empty
4 th row =empty
5th row = p

then i should get 5 as the record count. Currently i am checking al
the rows one by one which is taking long time to get the result.

Also i need to know if any of the rows between 1 to 5 is empty then
need a message box to be displayed. Is there any function to get th
no. of rows and number of empty rows

for example

No of rows = 5
and No of empty rows = 2

Thanks in advance

Regards
Venkates

--
Message posted from http://www.ExcelForum.com

 
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
Finding total # of records in an Excel file without scrolling LQ Excel Discussion (Misc queries) 5 November 6th 08 12:28 AM
show number of selected records in Excel Jonathan Dore Excel Discussion (Misc queries) 6 May 10th 07 03:01 PM
how to calculate with vba the number of records in an excel- table? André Excel Discussion (Misc queries) 5 November 11th 06 01:30 PM
Does Excel 2000/2003 have a max number of records like '98 has? nobfelt Excel Discussion (Misc queries) 2 July 20th 06 01:27 PM
total number of records wwoody New Users to Excel 3 January 5th 06 08:58 AM


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

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"