An error is generated when you run the attachment of WebForm.
Not so when you run a winForm
There are the two simple applications that can prove.
Comments: var wb = new XLWorkbook(); var ws = wb.Worksheets.Add("Test"); for (long i = 1; i < 600000; i++) { ws.Cell("A" + i).Value = "Test"; ws.Cell("B" + i).Value = i; ws.Cell("C" + i).FormulaA1 = "=CONCATENATE(A" + i + "," + "B" + i + ")"; ws.Cell("D" + i).Value = i * 3; ws.Cell("E" + i).Value = i * 2; ws.Cell("F" + i).FormulaA1 = "=SUM(D" + i + "," + "E" + i + ")"; ; } ws.RangeUsed().SetAutoFilter(); wb.SaveAs("c:\\TestWebForms.xlsx");
Not so when you run a winForm
There are the two simple applications that can prove.
Comments: var wb = new XLWorkbook(); var ws = wb.Worksheets.Add("Test"); for (long i = 1; i < 600000; i++) { ws.Cell("A" + i).Value = "Test"; ws.Cell("B" + i).Value = i; ws.Cell("C" + i).FormulaA1 = "=CONCATENATE(A" + i + "," + "B" + i + ")"; ws.Cell("D" + i).Value = i * 3; ws.Cell("E" + i).Value = i * 2; ws.Cell("F" + i).FormulaA1 = "=SUM(D" + i + "," + "E" + i + ")"; ; } ws.RangeUsed().SetAutoFilter(); wb.SaveAs("c:\\TestWebForms.xlsx");