Solved

Getting Record count for Excel

Posted on 2001-06-19
1
179 Views
Last Modified: 2010-05-02
What is the Function name for getting a recount in an excel spread sheet.  I am using VB5 or you can give it to me as a VBA.  I am querying an excel spread sheet, I need to know how many records there are so I can process the data in a For..Loop..

Thanks.
0
Comment
Question by:strongd
1 Comment
 
LVL 1

Accepted Solution

by:
Eugeny earned 50 total points
ID: 6209331
sheets("YoeruSheetName").UsedRange.Rows.Count
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VBA error replacing data 6 40
Windows 10 start screen issues 9 55
VBA/SQL - Connect to SQL server and pull data 4 111
Create Files based on Cell Values in a Range in Excel 12 40
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question