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

...

Param
numRows
numRows

Number of rows in the area. Maximum: 65536The row limit of the file format you are using.

Param
numColumns
numColumns

Number of columns in the range. Maximum: 256The column limit of the file fortmat you are using.

Param
rangeName
rangeName

The name of the new range.

Returns

A Range object.

Remarks

Note that if a range named rangeName already exists in the worksheet, it will be overwritten with the new named range created by this method.

Example
Code Block
csharp
csharp
titleC#
Range rng = ws.CreateNamedRange(4, 4, 15, 6, "Range1");
Code Block
vb.net
vb.net
titlevb.net
Dim rng As Range = ws.CreateNamedRange(4, 4, 15, 6, "Range1")