Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel automation - determine last populated row in sheet
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00885317
Message ID:
00885329
Vues:
14
Tracy,

I don't think so unless the range is named or selected by the user. If you're populating the spreadsheet, then you just need to keep track of the last row modified.

I had a similar need for a 123 spreadsheet than had 600-800 rows. What I needed to do was create an SDF file for importing into an old FPW 2.6 system in the correct format. I wrote a VBScript file that did all the work, including deleting columns, formatting output, and writing to the file, among other things. Even considering that I had to count the number of rows, the process took around 45 seconds to complete (on a PIII 933). I don't think that's too bad considering the amount of work that was being done.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform