Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the last row in Excel
Message
From
22/10/1999 19:52:14
 
 
To
20/10/1999 10:46:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00277911
Message ID:
00280330
Views:
18
What I endup doing was the following:
Range("A1").select
on error resume next
lRealLastRow = cells.find("*",Range("A1"),xlformulas,,xlbyrows,xlprevious).row

The above returns the last row used by the worksheet.

But in VBA code do you know (from excel) how to find the active cell?
John
John Fabiani
Woodland, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform