_Worksheet.UsedRange Property

Returns a Range object that represents the used range on the specified worksheet. Read-only.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Range UsedRange { get; }
Show: