When I save files in C#, with the intent of overwriting or appending, I keep getting pesky "Are you sure you wanna overwrite x.file?" Which freezes a very long thread. This program needs this to not happen, is there a way to auto respond yes?
Any help appreciated.
var exWks = (Microsoft.Office.Interop.Excel.Worksheet)exWbk.Sheets["Sheet1"];
exWks.SaveAs(path);