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)

'Usage
Dim InsertAmount As Integer
Dim range1 As Range
range1.InsertIndent(InsertAmount)

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

Parameters

InsertAmount

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

ADD
Show:
© 2014 Microsoft