Rows and Columns in Spreadsheet Documents
- 2 minutes to read
Worksheet cells are organized into 1,048,576 rows and 16,384 columns. The number of rows and columns is permanently fixed.
Rows and columns have headings in a worksheet (rows are numbered - “1”, “2”, “3”,…, “1048576”, and columns are lettered - “A”, “B”, “C”,…,”XFD”). You can hide or show these row and column headings via the WorksheetView.ShowHeadings property.
All worksheet rows and columns are stored in the RowCollection and ColumnCollection objects that you can access via the Worksheet.Rows and Worksheet.Columns properties. The Row and Column objects specify an individual row or column, respectively. Use the properties and methods of these objects to manage worksheet rows and columns.
Insert new rows and columns into a worksheet.
Copies a row or column.
Remove specified rows and columns from a worksheet.
Group and ungroup rows and columns in a worksheet.
Control row or column visibility in a worksheet.
Specify row height and column width in a worksheet.