Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lines in a spreadsheet?
Message
 
À
12/08/2002 06:55:36
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00688432
Message ID:
00688526
Vues:
19
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform