Represents individual worksheets in an Excel workbook (
C1XLBook).
Use the
C1XLBookC1XLBook.Sheets indexer to get an individual sheet. For example, the code below gets a reference to the first sheet on the book, then prints the number of rows and columns on the sheet:
C1XLBook book = new C1XLBook();
XLSheet sheet = book.Sheets[0];
Debug.WriteLine("Sheet has {0} rows and {1} columns",
sheet.Rows.Count, sheet.Columns.Count);
System.Object
C1.Excel.XLSheet