This documentation is archived and is not being maintained.

Range.Resize Property 

Resizes the specified range.

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

'Usage
Dim range1 As Range

Dim key As Object
Dim returnValue As Range
returnValue = range1.Resize(key)

Range this[
	[In, Optional] object RowSize, 
	[In, Optional] object ColumnSize
] {get;}
public Range get_Item(
	/*in*/System.Object RowSize, 
	/*in*/System.Object ColumnSize
);
In JScript, you can use Indexed Properties defined by a class, but you cannot define your own.

Parameters

RowSize

Optional Object. The number of rows in the new range. If this argument is omitted, the number of rows in the range remains the same.

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

Show: