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}{signature:
}
Signature
vb.net
vb.net
Public Function CreateConditionalFormat() As ConditionalFormat
{signature}
{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.{returns}
{remarks}
A [Cell|Cell], [Area|Area] or [Range|Range] object holds its own copy of the [ConditionalFormat|ConditionalFormat] when set; changes made to a {{ConditionalFormat}} after it is set will not affect the copies.
{remarks}
{example}{code:csharp|title=C#}
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} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

wb.CreateConditionalFormat()
{code} {example}