/// <summary> /// Agrega Sheet a el excel en base a nombre /// </summary> /// <param name="name"></param> private void AddSheet(string name) { _currentsheet = (XSSFSheet)_excel.GetSheet(name); if (_currentsheet == null) { if (_basesheet != null) { _currentsheet = (XSSFSheet)_basesheet.CopySheet(name, true); } else { _currentsheet = (XSSFSheet)_excel.CreateSheet(name); } } _currentsheet.DefaultRowHeight = 300; }