Worksheet.UsedRange property (Excel)
Returns a Range object that represents the used range on the specified worksheet. Read-only.
expression A variable that represents a Worksheet object.
This example selects the used range on Sheet1.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.