|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
XmlMappedRange.Resize Property (2007 System)
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
The property is intended to be used with the following parameters.
The number of rows in the new range. If this argument is omitted, the number of rows in the range remains the same.
The number of columns in the new range. If this argument is omitted, the number of columns in the range remains the same.
If you attempt to use without specifying any parameters, will get an XmlMappedRange._ResizeType object that is part of the Visual Studio Tools for Office infrastructure and is not intended to be used directly from your code.
For information on optional parameters, see The Variable missing and Optional Parameters in Office Solutions.
The following code example uses the property to get a larger range based on an XmlMappedRange, and then selects the new range. This code example assumes that the current worksheet contains an XmlMappedRange named CustomerLastNameCell.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.