Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Creates a new ConditionalFormat object that can be set on Cells, Areas and Ranges.

Signature
C#
C#
 public ConditionalFormat CreateConditionalFormat()
Signature
vb.net
vb.net
Public Function CreateConditionalFormat() As ConditionalFormat
Returns

A ConditionalFormat object representing a conditional format that Excel will apply to a cell or group of cells if a specified condition is met.

Remarks

A Cell, Area or Range object holds its own copy of the ConditionalFormat when set; changes made to a ConditionalFormat after it is set will not affect the copies.

Example
Code Block
csharp
csharp
titleC#
wb.CreateConditionalFormat();
Code Block
vb.net
vb.net
titlevb.net
wb.CreateConditionalFormat()