Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Returns the specified named Range. If the named range does not exist, the method returns null.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Returns the specified named [Range|Range]. If the named range does not exist, the method returns null.{excerpt}
{signature:C#}
 public Range GetNamedRange(System.String name)
Signature
{signature}{signature:vb.net
vb.net
}
Public Function GetNamedRange(ByVal name As String) As Range
Parameters

...

The name of the range.

Returns

A named Range object, or null if the range does not exist.

{signature}
{parameters}
{param:name}The name of the range.{param}
{returns}A named {{Range}} object, or null if the range does not exist.{returns}
{example}{code:csharp|title=C#}
Range rng = wb.GetNamedRange("Range1");
{code}
{code:vb.net
|title=vb.net
}
Dim rng As Range = wb.GetNamedRange("Range1"){code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle