Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding out programmatically how many rows in excel.
Message
De
27/01/2003 13:54:11
 
 
À
27/01/2003 13:52:36
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00745897
Message ID:
00745906
Vues:
18
>>I am programmatically saving an excel file to dbf format. I do not know how many rows will be in the spreadsheet does anyone know how I can figure this out?
>>
>>Thanks
>
>Try this:
>
	cur_colm = oExcel.ActiveCell.Column
>    lastcell = oExcel.Cells(65536, cur_colm).End(xlUp).Address
>
>HTH,


Whoops! Forgot:
with oExcel.ActiveSheet
    cur_colm = oExcel.ActiveCell.Column
    lastcell = oExcel.Cells(65536, cur_colm).End(xlUp).Address
endwith
Winn Pauley
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform