Delete Sheet

Deletes the specified sheet from the Excel file.


⬅️INPUT

Parameter

Type

Required

Description

FilePath

String

✅ Yes

Excel file path

Data

Byte[]

✅ Yes

Excel binary data

SheetName

String

❌ No

Name of the sheet to delete


➡️OUTPUT

Parameter

Type

Description

IsDeleteSheetSuccessful

Boolean

Whether the operation succeeded

DeleteSheetMessage

String

Result message

DeleteSheetResult

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".