編輯

共用方式為


ListObject.Resize(Range) Method

Definition

The Resize method allows a ListObject object to be resized over a new range.

public:
 void Resize(Microsoft::Office::Interop::Excel::Range ^ Range);
public void Resize (Microsoft.Office.Interop.Excel.Range Range);

Parameters

Range
Range

Required Range.

Remarks

No cells are inserted or moved by this property.

This property returns Nothing.

For lists that are linked to a server that is running Microsoft Windows SharePoint Services, you can resize the list using this method by providing a Range argument that differs from the current range of the ListObject only in the number of rows it contains. Attempting to resize lists linked to Windows SharePoint Services by adding or deleting columns (in the Range argument) results in a run-time error.

Applies to