Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Overwrite without prompt Excel file
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Overwrite without prompt Excel file
Divers
Thread ID:
00356747
Message ID:
00356747
Vues:
54
Following is sample of code used to convert excel file to HTML.
How can I overwrite existing file without prompt to overwrite ?


oXL = CREATEOBJECT("Excel.Application")
oXL.WorkBooks.Open("c:\ssm\ccola13.xls")
nFileFormat = '44'
oXL.WorkBooks(1).SaveAs("c:\ssm\ccola13.htm",nFileFormat)
oXL.Quit
RELEASE oXL

Thanks CB
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform