Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Counting rows of an Excel 97 worksheet
Message
 
To
28/12/2000 23:09:38
Chrita Lee
ProMOS Technology Inc.
Hsinchu, Taiwan
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00456575
Message ID:
00457727
Views:
28
Thank you. I think, it is the best solution among the answers.
But if we consider how long it take each of us to find the answer of 'how to do it in Excel', I would say Excel is useful, not great. But this forum and our community is REALLY GREAT!

>>>>>>>>>>>>>>>>>>>> Previous message
>Can someone tell me if an Excel 97 object (CreateObject('Excel.Application')...) has a property to indicate the actual number of rows and columns containing data?
>
>Thanks
>Charles Richard

A more straightforward way:

? ActiveSheet.UsedRange.Rows.Count
? ActiveSheet.UsedRange.Columns.Count

Excel is REALLY GREAT!!!

Chris Lee
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform