Range.Resize Property

Resizes the specified range.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property Resize ( _
    RowSize As Object, _
    ColumnSize As Object _
) As Range
    Get
'Usage
Dim instance As Range
Dim RowSize As Object
Dim ColumnSize As Object
Dim value As Range

value = instance.Resize(RowSize, ColumnSize)
Range this[
    Object RowSize,
    Object ColumnSize
] { get; }

Parameters

  • RowSize
    Type: System.Object

    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.

  • ColumnSize
    Type: System.Object

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

Property Value

Type: Microsoft.Office.Interop.Excel.Range

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace