Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel: Adding existing worksheets to a workbook
Message
 
À
16/03/2001 13:43:29
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00486033
Message ID:
00486048
Vues:
13
Craig,

You can use the copy method like:

ObjExcel.ActiveSheet.Copy(ObjExcel.Workbooks("Target.xls").Sheets("Template"))

where the active sheet is inserted into another file, target.xls, before the sheet "template".


>>>>>>>>>>>>>>> your message below
I am creating a report that the client wants sent as an Excel workbook. Each worksheet will contain specific information. I am using Crystal Reports to create each worksheet, then saving it to an XLS file. However, I need to then add each worksheet to the workbook. I can see how to add a new worksheet to the workbook, but how do I then pull the data into the worksheet?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform