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

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

Signature
C#
C#
 public Range GetNamedRange(System.String name)
Signature
vb.net
vb.net
Public Function GetNamedRange(ByVal name As String) As Range
Parameters
Param
name
name

The name of the range.

Returns

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

Example
Code Block
csharp
csharp
titleC#
Range rng = wb.GetNamedRange("Range1");
Code Block
vb.net
vb.net
titlevb.net
Dim rng As Range = wb.GetNamedRange("Range1")