Conditional formatting is an advanced Microsoft Excel feature that allows you to apply formats to a cell or range of cells and have that formatting change depending on the value of the cell or the value of a formula. For example, you can have a cell appear bold only when the value of the cell is greater than 500. When the value of the cell meets the condition, the specified format is applied to the cell. If the value of the cell does not meet the condition, the default formatting is used. In Microsoft Excel, select Format, then Conditional Formatting to open the Conditional Formatting dialog.
Conditional formatting in Microsoft Excel
Aspose.Cells supports applying conditional formatting to cells at runtime. This article explains how.
Applying Conditional Formatting
Aspose.Cells supports conditional formatting in two ways:
Using Designer Spreadsheet
Developers can create a designer spreadsheet that contains conditional formatting in Microsoft Excel and then open that spreadsheet with Aspose.Cells. Aspose.Cells loads and saves the designer spreadsheet, keeping any conditional formatting setting. To find out more about designer spreadsheets, read What is a Designer Spreadsheet.
Applying Conditional Formatting at Runtime
Aspose.Cells supports applying conditional formatting at runtime.
Setting fonts in Microsoft Excel
Setting borders in Microsoft Excel
Setting a cell pattern in Microsoft Excel