Partager via


Range.IndentLevel Property

Returns or sets the indent level for the cell or range.

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

Syntax

'Declaration
Property IndentLevel As Object
    Get
    Set
'Usage
Dim instance As Range
Dim value As Object

value = instance.IndentLevel

instance.IndentLevel = value
Object IndentLevel { get; set; }

Property Value

Type: System.Object

Remarks

The indent level can be an integer from 0 to 15.

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

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace