Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Getting Record count for Excel

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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
MS Access - Capture pressed key onclick 4 41
VBA Shell can't Find Word document 11 110
Can we place a tooltip on the actual vb6 form 5 48
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

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