Skip to main content
Close announcements banner

Listing cells in a sheet

This topic describes how to list cells contained in a sheet.

Example: List cells in a sheet

            foreach (SheetCell cell in sheet)
            {
                Console.WriteLine("Type:{0} ID:{1} Position:({2},{3}) Size:({4}x{5})", cell.Type, cell.Name, cell.Row, cell.Col, cell.Rowspan, cell.Colspan);
            }

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!