[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Getting Record count for Excel

Posted on 2001-06-19
1
Medium Priority
?
192 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 150 total points
ID: 6209331
sheets("YoeruSheetName").UsedRange.Rows.Count
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

872 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