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
Wiki Markup
{description}
{excerpt}Creates a new [ConditionalFormat] object that can be set on [Cell]s, [Area]s and [Range]s.
{excerpt}
{signature:C#}
 public ConditionalFormat CreateConditionalFormat()
{signature}{signature: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#}
wb.CreateConditionalFormat();{code}
{code:vb.net|title=vb.net}
wb.CreateConditionalFormat(){code}

{example}