Returns the worksheet with the specified name. This property is an indexer for the Workbook class.

 public Worksheet this[System.String sheetName] { get; }
Public Default ReadOnly Property Item(ByVal sheetName As String) As Worksheet

The name of the worksheet.

The worksheet with the specified name.


          //--- Get the worksheet titled "Sheet1"
          Worksheet ws = wb["Sheet1"];
        

          '--- Get the worksheet titled "Sheet1"
          Dim ws As Worksheet = wb("Sheet1")