Reads the specified cell in the Excel file.
Namespace:
AppRobotic
Assembly:
AppRobotic (in AppRobotic.dll) Version: 15.21.3.21 (15.21.03.21)
Syntax public string ExcelRead(
Object PathToExcelFile,
Object SheetName,
Object RowNumber,
Object ColumnNumber,
Object TextOrValue
)
Parameters
- PathToExcelFile
- Type: SystemObject
File path of the Excel file. - SheetName
- Type: SystemObject
Specify either a blank ("") for 1st found Sheet in the Workbook by default, or the Sheet name. - RowNumber
- Type: SystemObject
Row of cell to read. - ColumnNumber
- Type: SystemObject
Column of cell to read. - TextOrValue
- Type: SystemObject
Specify Text, Value, or Value2 to get those cell values. Default is Text.
Return Value
Type:
StringReturns string containing the Excel cell contents or error message.
See Also