用GcExcel加载后修改相同位置:
public void TestLoadExcelEditOnline()
{
var workbook = new GrapeCity.Documents.Excel.Workbook();
workbook.Open("test_calc_performence.xlsx");
var originSheet = workbook.Worksheets["分期产品设置"];
var stopwatch = new System.Diagnostics.Stopwatch();
stopwatch.Start();
originSheet.Range["C2"].Value =Convert.ToDateTime("2020-12-01");
stopwatch.Stop();
Console.WriteLine($"******************CalculateTime:{stopwatch.ElapsedMilliseconds}");
workbook.Save($"test_calc_performence_{DateTime.Now:yyyyMMddHHmmss}.xlsx");
}