diff --git a/ClosedXML/ClosedXML/ClosedXML/Excel/Columns/XLColumn.cs b/ClosedXML/ClosedXML/ClosedXML/Excel/Columns/XLColumn.cs index aac366d..8ad0e34 100644 --- a/ClosedXML/ClosedXML/ClosedXML/Excel/Columns/XLColumn.cs +++ b/ClosedXML/ClosedXML/ClosedXML/Excel/Columns/XLColumn.cs @@ -155,6 +155,10 @@ return retVal; } + public new IXLCells Cells() + { + return CellsUsed(true); + } public IXLCells Cells(Int32 firstRow, Int32 lastRow) { return Cells(firstRow + ":" + lastRow); diff --git a/ClosedXML/ClosedXML/ClosedXML/Excel/Rows/XLRow.cs b/ClosedXML/ClosedXML/ClosedXML/Excel/Rows/XLRow.cs index 8cb19db..c6bd563 100644 --- a/ClosedXML/ClosedXML/ClosedXML/Excel/Rows/XLRow.cs +++ b/ClosedXML/ClosedXML/ClosedXML/Excel/Rows/XLRow.cs @@ -168,6 +168,11 @@ return Cell(1, columnLetter); } + public new IXLCells Cells() + { + return CellsUsed(true); + } + public new IXLCells Cells(String cellsInRow) { var retVal = new XLCells(false, false); diff --git a/ClosedXML/ClosedXML/ClosedXML/Excel/XLWorksheet.cs b/ClosedXML/ClosedXML/ClosedXML/Excel/XLWorksheet.cs index f8f461b..df3b8a9 100644 --- a/ClosedXML/ClosedXML/ClosedXML/Excel/XLWorksheet.cs +++ b/ClosedXML/ClosedXML/ClosedXML/Excel/XLWorksheet.cs @@ -1167,6 +1167,11 @@ return this; } + public new XLCells Cells() + { + return CellsUsed(true); + } + public new XLCell Cell(String cellAddressInRange) {