Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel Tab Surfing
Message
From
20/09/2005 18:56:03
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01051478
Message ID:
01051491
Views:
15
This message has been marked as the solution to the initial question of the thread.
>What would be the best way to enum unknown spreadsheet tab names or number and touch each tab?
>something like
>
> oExcel=CREATEOBJECT("Excel.Application")
> With oExcel
>         .DisplayAlerts= .F.
>         .WorkBooks.Open(XLSFile,0)
>         FOR iTabor= 1 TO 100
>            .Sheets.iTabor.Select()
>
>         ENDFOR
>
for itabor = 1 to .ActiveWorkBook.WorkSheets.Count
 .ActiveWorkBook.WorkSheets(m.iTabor).Activate
 ? .ActiveWorkBook.ActiveSheet.Name
endfor
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