Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Excerpt

Returns the Range of cells that is conditionally formatted by the current ConditionalFormat object.

Signature
C#
C#
public Range Range{ get; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public ReadOnly Property Range() As Range
{signature}
{example}{code:csharp|title=C#}
Example
Code Block
csharp
csharp
titleC#
          
ExcelApplication xla = new ExcelApplication();
          Workbook wb = xla.Create();
          ConditionalFormat cf = wb.CreateConditionalFormat();
          Range cfRange = cf.Range;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}
          
Dim xla As New ExcelApplication()
          Dim wb As Workbook = xla.Create()
          Dim cf As ConditionalFormat = wb.CreateConditionalFormat()
          Dim cfRange As Range = cf.Range
        
{code} {example}