Set Range Color

Writes the entered color information to the given cells on the entered sheet of the Excel file located at the given file path.


⬅️INPUT

Parameter

Type

Required

Description

FilePath

String

✅Yes

Excel file path

Data

Byte[]

✅Yes

Excel file data (byte array)

SheetName

string

❌No

Target sheet name

StartRow

Int32

❌No

Start row number

EndRow

Int32

❌No

End row number

StartColumn

String

❌No

Start column letter

EndColumn

String

❌No

End column letter

NoFill

Boolean

❌No

Remove fill

BackgroundColor

String

❌No

Background color value


➡️OUTPUT

Parameter

Type

Description

IsSetRangeColorSuccessful

Boolean

Whether the operation succeeded

SetRangeColorMessage

String

Operation result message

SetRangeColorResult

Byte[]

Updated Excel file


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Throw exception on error