Office Open XML Verifique se a linha está vazia
var sheetData = part.Worksheet.Elements<SheetData>().First();
var rows = sheetData.Elements<Row>().ToList();
for (var rowIndex = 0; rowIndex < rows.Count; rowIndex++)
{
var row = rows[rowIndex];
if (string.IsNullOrWhiteSpace(row.InnerText)) continue;
// Row is not empty
}
DeuxAlpha