Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Activesheet in Excel
Message
From
24/09/2002 09:55:34
 
 
To
24/09/2002 07:51:56
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00703696
Message ID:
00703754
Views:
14
>I can't seem to figure out how to set the Activesheet in excel if I don't know the name of the sheet that I want to switch to. Isn't there a mechanism to select the 1st sheet in the workbook and then the 2nd sheet, and so forth, cycling through all of the worksheets in the workbook in other words? Thanks in advance. -Rick

Most of the time, you don't need a sheet to be active to work with it. Just refer directly to the sheet you're interested in:

oXL.ActiveWorkbook.Sheets[1]. ...

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform