Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to count rows in Excel before importing into Access?

Status
Not open for further replies.

PercyNK

Programmer
Nov 15, 2013
7
0
0
ZA
Hi All,
With reference to thread705-1167156

How do I reference the particular excel file and sheet I wish to import from.

Thanks for your help

percy
 
hi,

Code:
  Debug.Print YourWorksheetObject.UsedRange.Rows.Count


Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top