Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get Sheet Names from Excel File
Message
De
16/04/2008 17:53:37
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01310964
Message ID:
01311311
Vues:
23
It worked fine.
Exactly what I need.
Many Thanks!

>
>oExcel = CreateObject("Excel.Application")
>oWorkbook = oExcel.Workbooks.Open(lcXlsFile)
>FOR i= 1 TO oWorkbook.Sheets.Count
>	? oWorkbook.Sheets(i).Name
>ENDFOR
>oExcel.Quit()
>
>
>>I'm wondering if there is a way to get
>>the sheet names from a XLS file.
>>Any idea?
***
TONY Nascimento
*****************

"Your mind is like a parachute. It only works if it is open" - Anthony J. D'Angelo

"The desire to know is natural to good men" - Leonardo da Vinci
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform