I'm trying to use the standard .Clear()
method for an EPPlus spreadsheet without any luck. Anyone know how to clear all the data in a column using the EPPlus plugin? Below is what i have so far. Does not throw an exception but doesn't work at all.
if (File.Exists(path))
{
//Connect to spreadsheet
FileStream stream = File.Open(path, FileMode.Open, FileAccess.Read);
FileInfo file = new FileInfo(path);
_package = new ExcelPackage();
//Pull data into EPPlus object
_package.Load(stream);
_sheet = _package.Workbook.Worksheets.First();
//Clear out previous errors
_sheet.Cells["L1"].Clear();
}