Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lines in a spreadsheet?
Message
 
To
12/08/2002 06:55:36
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00688432
Message ID:
00688526
Views:
17
>This works, but I can't work-out why. Shouldn't oSheet.UsedRange.Rows.Count by itself suffice?

Alan,
The description of UsedRange says that "The UsedRange property represents the area described by the farthest upper-left and farthest lower-right nonempty cells in a worksheet and includes all cells in between." So oSheet.UsedRange.Rows.Count will not be sufficient if you have an empty cells at the begining of sheet.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform