APIExcelColumnsCount Method |
Counts the columns in the specified Excel file.
Namespace:
AppRobotic
Assembly:
AppRobotic (in AppRobotic.dll) Version: 15.21.3.21 (15.21.03.21)
Syntax public string ExcelColumnsCount(
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:
StringReturns string containing the columns count, or error message.
See Also