We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Can the Worksheet get the usage area?

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());