exc.ActiveWorkbook.SaveCopyAs(@"C:\Users\Mylaptop\Desktop\MyList.csv"); //exc.ActiveWorkbook.SaveCopyAs("MyList.csv"); exc.ActiveWorkbook.Saved = true; exc.Quit();
string saveAsPath = System.IO.Path.GetDirectoryName(inputFile); string saveAsFile = System.IO.Path.Combine(saveAsPath, "MyList.csv");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)