Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 871 Bytes

Excel.Range.IndentLevel.md

File metadata and controls

44 lines (26 loc) · 871 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Range.IndentLevel property (Excel)
vbaxl10.chm144147
vbaxl10.chm144147
Excel.Range.IndentLevel
f4d5af31-904a-27eb-fb2d-e5ae38a7ebb9
05/11/2019
medium

Range.IndentLevel property (Excel)

Returns or sets a Variant value that represents the indent level for the cell or range. Can be an integer from 0 to 15.

Syntax

expression.IndentLevel

expression A variable that represents a Range object.

Remarks

Using this property to set the indent level to a number less than 0 (zero) or greater than 15 causes an error.

Example

This example increases the indent level to 15 in cell A10.

With Range("A10") 
 .IndentLevel = 15 
End With

[!includeSupport and feedback]