Delete Columns

Deletes the desired columns from the named sheet of the Excel file.


⬅️INPUT

Parameter

Type

Required

Description

FilePath

String

✅ Yes

Excel file path

Data

Byte[]

✅ Yes

Excel binary data

SheetName

String

❌ No

Sheet name

Column

String

✅ Yes

Column(s) to delete


➡️OUTPUT

Parameter

Type

Description

IsDeleteColumnsSuccessful

Boolean

Whether the operation succeeded

DeleteColumnsMessage

String

Result message

DeleteColumnsResult

Byte[]

Updated Excel file


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Specifies whether an exception is thrown when the operation fails. The default value is "No".