Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Counting rows of an Excel 97 worksheet
Message
 
To
23/12/2000 09:30:04
Charles Richard
Nvo Management Systems
Boisbriand, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00456575
Message ID:
00456583
Views:
34
In some cases the actual number of rows containing data may be less then the number of rows in the document.
In Excel you can use CTRL+END to go to the document bottom.
So, while automation to go to the document bottom you can use:
ObjExcel.SendKeys ("^+{END}",-1)
Then you can use ObjExcel.ActiveWindow.RangeSelection.Address to see where you are.

Best Wishes

>>>>>>>>>>>>>>You message below
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform