Information générale
Catégorie:
Programmation Orientée Object
>I am currently experiencing a problem while attempting to create a Microsoft Excel spreadsheet containing more than one worksheet. I have no problem creating 2 separate spreadsheets, but I cannot seem to link multiple worksheets to the same spreadsheet...
>
You can add worksheets to an existing workbook, using the
Worksheets.Add method:
oXL.ActiveWorkbook.Worksheets.Add()
You can control the number of sheets in a new workbook by setting the SheetsInNewWorkbook property of the Application object:
oXL.SheetsInNewWorkbook = 5
Tamar
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement