General information
Category:
COM/DCOM and OLE Automation
Title:
Overwrite without prompt Excel file
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only