I just started implementing this to populate an Excel sheet with some data:
using OfficeOpenXml; //.. ExcelWorksheet VerificationSheet_Sheet4 = package.Workbook.Worksheets.Add("SheetTitleHere"); int row = 0, col = 0; VerificationSheet_Sheet4.Cells[row + 1, col].Value = "AnyStringHere"; // error here However it pops an error saying column is out of range. Why and how can I fix that?