Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the list of sheet names in Excel
Message
From
04/12/2003 04:41:13
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
03/12/2003 23:36:13
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00855733
Message ID:
00855758
Views:
21
This message has been marked as the solution to the initial question of the thread.
>Hi all,
>
>How do I get the names of all sheets in an excel file from VFP?
>
>TIA.
*..
With ox.ActiveWorkbook
  Local array aSheetNames[.Sheets.Count]
  For ix=1 to .Sheets.Count
    aSheetNames[ix] = .Sheets(ix).Name
  EndFor
endwith
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform