Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get Sheet Names from Excel File
Message
From
16/04/2008 16:28:06
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01310964
Message ID:
01311286
Views:
13
Thanks Sergey!
I'll give it a try and let you know!

>
>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
Reply
Map
View

Click here to load this message in the networking platform