Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Load Excel template
Message
De
09/06/2005 12:27:25
 
 
À
09/06/2005 12:24:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01021794
Message ID:
01021843
Vues:
23
>I have used templates more in Word than in Excel, but I think it is the same idea: You normally don't open a template, to save it with a different name; instead, you directly create a new file, based on the template. I think that would be with the .Add() method.
>

This works as well.
excel = createobject('Excel.Application')
excel.Workbooks.Open('mytemplate.xlt')
excel.ActiveWorkbook.SaveAs('newexcelfile.xls')
ramil
~~ learning to stand still
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform