Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Office Automation - Excel Activesheet
Message
 
 
To
07/04/2010 10:28:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows NT
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01459157
Message ID:
01459158
Views:
54
lcSheetName = "Whatever"
oExcel.Sheets(lcSheetName).Activate()
* or
lnSheetNumber = 2
oExcel.Sheets(lnSheetNumber).Activate()
>I haven't done much with "automation" by am a somewhat familar with the basics but I can't seem to figure this out.
>
>How do you change the "activesheet?" For example, if I add three worksheets how to I switch back and forth between the thee worksheets, thus making #1 the activesheet and then #2 the activesheet and then #3 the activesheet, etc.
>
>Robert Wright
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform