[]
Represents a collection of all sheet tabs in a workbook.
Use this interface to access sheet tab information such as the tab count,
or to retrieve a specific tab by index or name. An ISheetTabs instance
is typically obtained from SheetTabs.
public interface ISheetTabs : IEnumerable<ISheetTab>, IEnumerable
Public Interface ISheetTabs
Inherits IEnumerable(Of ISheetTab), IEnumerable
workbook.Open("import.sjs");
ISheetTabs sheetTabs = workbook.SheetTabs;
if (sheetTabs.Count > 0)
{
ISheetTab firstTab = sheetTabs[0];
}
| Name | Description |
|---|---|
| Count | Gets the number of sheet tabs in the workbook. |
| this[int] | Gets the sheet tab at the specified index. The index starts at 0. |
| this[string] | Gets the sheet tab with the specified name. |