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 named Range object that specified by name. If the named range does not exist, the method returns null.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Returns the named [Range|Range] object that specified by name. 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 named = ws.GetNamedRange("MyNamedRange");
{code}
{code:vb.net
|title=vb.net
}
Dim named As Range = ws.GetNamedRange("MyNamedRange"){code}

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