Click or drag to resize

APIExcelDeleteColumns Method

Delete entire specified columns in the Excel file.

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

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.
StartColumnToDelete
Type: SystemObject
Starting column to be deleted, inclusive.
EndColumnToDelete
Type: SystemObject
Final column to be deleted, inclusive.

Return Value

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