EDN Admin
Well-known member
Hey,
Im manipulating an Excel (.xls) file trough C#, and Im using this function the save the file in the end of my program:
excelWS.SaveAs(@path, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing);
But after it the windows prompt asking to the user if he would like to overwrite the existing file (because im saving it with the same name as before).
Id like to know if theres a way to always overwrite the file, without asking to the user.<br/>
<br/>
Regards
View the full article
Im manipulating an Excel (.xls) file trough C#, and Im using this function the save the file in the end of my program:
excelWS.SaveAs(@path, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing);
But after it the windows prompt asking to the user if he would like to overwrite the existing file (because im saving it with the same name as before).
Id like to know if theres a way to always overwrite the file, without asking to the user.<br/>
<br/>
Regards
View the full article