Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

XL.Sheet.RemoveConditionalFormatting

Removes conditional formatting rules with the specified index for the sheet (only for xlsx files).

Component Version macOS Windows Linux Server iOS SDK
XL 16.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XL.Sheet.RemoveConditionalFormatting"; BookRef; SheetIndex; Index )   More

Parameters

Parameter Description Example
BookRef The reference number for the workbook. $ref
SheetIndex The index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. 0
Index The index from 0 to size-1. 0

Result

Returns 1, 0 or error.

Description

Removes conditional formatting rules with the specified index for the sheet (only for xlsx files).
The index must be less than the return value of the conditionalFormattingSize() method.
Returns 1 on success and 0 on failure.

See also

Release notes

  • Version 16.1
    • Added XL.Sheet.RemoveConditionalFormatting function.

Blog Entries

This function checks for a license.

Created 20th January 2026, last changed 20th January 2026


XL.Sheet.RemoveComments - XL.Sheet.RemoveDataValidations