CellFormat.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 250.



expression A variable that represents a CellFormat object.


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

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.