NamedRange::IndentLevel Property
Gets or sets the indent level for the NamedRange control.
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
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 exception to be thrown.
The following code example creates a NamedRange and then uses the IIndentLevel property to set the indent level of the NamedRange to 3.
This example is for a document-level customization.
Show: