 | ExcelHelperGetCell Method |
Retrieves the cell with the specified cell reference from the specified worksheet.
Namespace: ema3d.Api.V25.ResultsAssembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntaxpublic Cell GetCell(
string sheetName,
string cellReference
)
Public Function GetCell (
sheetName As String,
cellReference As String
) As Cell
public:
Cell^ GetCell(
String^ sheetName,
String^ cellReference
)
member GetCell :
sheetName : string *
cellReference : string -> Cell
Parameters
- sheetName String
- The name of the worksheet containing the cell.
- cellReference String
- The cell reference (e.g., "A1") of the cell to retrieve.
Return Value
CellThe Cell object representing the specified cell.
ExceptionsException | Condition |
---|
ArgumentException | Thrown if the sheet name or cell reference is null or empty,
or if the specified cell does not exist. |
See Also