Class ExcelRange
- Namespace
- OfficeOpenXml
- Assembly
- EPPlus.dll
A range of cells.
public class ExcelRange : ExcelRangeBase, IEnumerable<ExcelRangeBase>, IEnumerable, IEnumerator<ExcelRangeBase>, IDisposable, IEnumerator
- Inheritance
-
ExcelRange
- Implements
- Inherited Members
- Extension Methods
Properties
this[int, int]
Access a single cell
public ExcelRange this[int Row, int Col] { get; }
Parameters
Property Value
- ExcelRange
A range object
this[int, int, int, int]
Access a range of cells
public ExcelRange this[int FromRow, int FromCol, int ToRow, int ToCol] { get; }
Parameters
Property Value
this[string]
Access the range using an address
public ExcelRange this[string Address] { get; }
Parameters
Address
stringThe address
Property Value
- ExcelRange
A range object
Methods
SetFormula(string, bool)
Set the formula for the range.
public void SetFormula(string formula, bool asSharedFormula = true)