Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 749 Bytes

Excel.Worksheet.UsedRange.md

File metadata and controls

38 lines (23 loc) · 749 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Worksheet.UsedRange property (Excel)
vbaxl10.chm175134
vbaxl10.chm175134
Excel.Worksheet.UsedRange
f004b93c-d785-de19-1fb4-bbe0b2e9b6cd
05/30/2019
medium

Worksheet.UsedRange property (Excel)

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

Syntax

expression.UsedRange

expression A variable that represents a Worksheet object.

Example

This example selects the used range on Sheet1.

Worksheets("Sheet1").Activate 
ActiveSheet.UsedRange.Select

[!includeSupport and feedback]