Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel Sheet
Message
 
À
08/05/2001 15:11:47
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00504942
Message ID:
00504950
Vues:
15
This message has been marked as the solution to the initial question of the thread.
>HI,
>What is property I need to use in order to change the name of Excel Sheet (Sheet1, Sheet2, ect.)
>
>THank you,
>Christian

I use the following code to name the sheet I am working with:
loExcel = CreateObject("Excel.Application")
loExcel.SheetsInNewWorkBook = 9
loWorkBook = loExcel.Workbooks.Add()

loWorkSheet = loWorkBook.Worksheets[1]
loWorkSheet.Name = 'CCA'
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform