Click or drag to resize

APIExcelRowsCount Method

Counts the rows in the specified Excel file.

Namespace:  AppRobotic
Assembly:  AppRobotic (in AppRobotic.dll) Version: 15.21.3.21 (15.21.03.21)
Syntax
C#
public string ExcelRowsCount(
	Object PathToExcelFile,
	Object SheetName
)

Parameters

PathToExcelFile
Type: SystemObject
File path to the Excel file.
SheetName
Type: SystemObject
Specify either a blank ("") for 1st found Sheet in the Workbook by default, or the Sheet name.

Return Value

Type: String
Returns string containing the rows count, or error message.
See Also