Export (0) Print
Expand All
Expand Minimize

Range.InsertIndent Method 

Adds an indent to the specified range.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

Dim InsertAmount As Integer
Dim range1 As Range

void InsertIndent(
	[In] int InsertAmount
public void InsertIndent(
	/*in*/int InsertAmount
function InsertIndent(
	 InsertAmount : int



Required Integer. The amount to be added to the current indent.

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

Use theIndentLevel property to return the indent level for a range.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

© 2014 Microsoft