Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lines in a spreadsheet?
Message
 
À
11/08/2002 14:29:26
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:
00688498
Vues:
19
>Can anyone tell me the property (if it exists) for the number of the last occupied line/row in a spreadsheet. I am thinking of something like oSheet.numberoflines, where oSheet is an object reference to the active sheet.

Take a look on UsedRange property of WorkSheet. I think, you can get the number of the last occupied row as
oSheet.UsedRange.Row + oSheet.UsedRange.Rows.Count - 1
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform