Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Counting rows of an Excel 97 worksheet
Message
From
23/12/2000 18:32:21
Charles Richard
Nvo Management Systems
Boisbriand, Quebec, Canada
 
 
To
23/12/2000 18:21:27
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00456575
Message ID:
00456620
Views:
23
Cetin:

Thanks you very much. This works perfectly. (You knew that ... :-) )

Charles Richard


>>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
>
>Charles,
>Use specialcells :
>
with oExcel.ActiveWorkBook.ActiveSheet
>lcLastCell = .Range("A1").SpecialCells(xlLastCell).Address(.f.,.f.,xlR1C1)
>Also check Thread #247106
>
>Cetin
Charles Richard
NVO Management Systems
crichard@nvo.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform