Click or drag to resize

APIExcelDeleteRows Method

Delete entire specified rows in the Excel file, rows below shift up.

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

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.
StartRowToDelete
Type: SystemObject
Starting row to be deleted, inclusive.
EndRowToDelete
Type: SystemObject
Final row to be deleted, inclusive.

Return Value

Type: String
Returns string containing 'success' or error message.
See Also