maxthomassin
13 years agoOccasional Contributor
Saving Excel File
Hello everyone,
im trying to work with Excel file using OleObject. I found everything I need to work with it except one thing. I havent figured out how to save a file that already exist.
I tried using Close, SaveAs or Save, but each time I try, i have the pop up message :
are you sure you want to save (yes, no, cancel).
Can anyone give me an idea how to bypass this message box ?
Thanks.
(im using excel 2010 and JavaScript)
"MsExcel.ActiveWorkbook.Save(FileName);"
im trying to work with Excel file using OleObject. I found everything I need to work with it except one thing. I havent figured out how to save a file that already exist.
I tried using Close, SaveAs or Save, but each time I try, i have the pop up message :
are you sure you want to save (yes, no, cancel).
Can anyone give me an idea how to bypass this message box ?
Thanks.
(im using excel 2010 and JavaScript)
"MsExcel.ActiveWorkbook.Save(FileName);"