Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get Sheet Names from Excel File
Message
From
16/04/2008 17:53:37
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01310964
Message ID:
01311311
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform