Can the Worksheet get the usage area?
image.png (5.8 KB)
For example, in this table, the value of the region attribute is directly A1: D7.
Can the Worksheet get the usage area?
image.png (5.8 KB)
For example, in this table, the value of the region attribute is directly A1: D7.
@Diego2020,
Please give a try to the following sample code and share the feedback.
Workbook workbook = new Workbook("Book1.xlsx");
var range = workbook.Worksheets[0].Cells.MaxDisplayRange;
Console.WriteLine(range.ToString());