Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Activesheet in Excel
Message
 
À
24/09/2002 07:51:56
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00703696
Message ID:
00703706
Vues:
17
>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
For Each ws in oApp.Worksheets
    ws.Activate()
EndFor
Or simply oApp.Worksheets(1).Activate()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform