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 worksheet with the specified name. This property is an indexer for the Worksheets class.

Signature
C#
C#
 public Worksheet this[string name] { get; }
Signature
vb.net
vb.net
Public Default ReadOnly Property Item(ByVal name As String) As Worksheet
Parameters
Param
name
name

The name of the worksheet to get.

Returns

The worksheet with the specified name.

Example
Code Block
csharp
csharp
titleC#
Worksheet Sheet1 = oWorkbook.Worksheet["Sheet1"];
Code Block
vb.net
vb.net
titlevb.net
Dim Sheet1 As Worksheet = oWorkbook.Worksheet("Sheet1")