Error while manipulating Conditional Formatting #5222
Labels
Area: Excel
Issue related to Excel add-ins
Status: in backlog
Issue is being tracked in the backlog but timeline for resolution is unknown
Provide required information needed to triage your issue
Your Environment
Expected behavior
The command
context.workbook.worksheets.getActiveWorksheet().getRange().conditionalFormats.getItemAt(0).delete();
can be executed without producing errors, when at least one conditional formatting is available in the current worksheet.Current behavior
The following error is produced:
RichApi.Error: Item Not Found.
Steps to reproduce
a. Set blue background when cell value is between 1 and 2;
b. Sed red background when cell value is between 3 and 4.
RichApi.Error: Item Not Found.
is thrown.The text was updated successfully, but these errors were encountered: