MaxRow

Cells.MaxRow property

Maximum row index of cell which contains data or style.

public int MaxRow { get; }

Remarks

Return -1 if there is no cell which contains data or style in the worksheet.

See Also