Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change active worksheet
Message
 
To
04/09/2006 05:43:45
Jeffrey Havelock
Skipton Information Group
Leeds, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01150661
Message ID:
01150662
Views:
32
This message has been marked as the solution to the initial question of the thread.
>Hi All,
>
>I'm opening an Excel spreadsheet using following code ...
>
>RELEASE ALL LIKE o*
>oExcel=CREATEOBJECT("Excel.Application")
>oExcel.Visible=.T.
>oWorkbook=oExcel.Workbooks.Open("MyFile.xls")
>
>My workbook has 8 worksheets. What syntax do I use to change the ActiveSheet?
>
>Kind Regards
>
>Jeff
oExcel.Sheets(index or name of the sheet you want to activate).Select()
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform