When you use Microsoft Visual Basic code to remove the background color property of the conditional formatting of a cell, you receive unexpected results when you try to re-apply the conditional formatting. Although the background color has been successfully removed, it still appears to be selected in the Format Cells dialog box.
↑ Back to the top
Reset the formatting manually, and then select a new background color. To do this, follow these steps:
- On the Format menu, click Conditional Formatting.
- In the Conditional Formatting dialog box, click Format.
- In the Format Cells dialog box, click Clear, and then select a new background color. Click OK twice.
↑ Back to the top
For more information about how to change conditional formatting, click Microsoft Excel Help on the Help menu, type change conditional formats in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
↑ Back to the top