Solved

Getting Record count for Excel

Posted on 2001-06-19
1
177 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now