NamedRange.AutoFill Method
Visual Studio 2012
Automatically fills the cells in the NamedRange control.
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Parameters
- Destination
- Type: Range
The cells to be filled. The destination must include the source range.
- Type
- Type: XlAutoFillType
Specifies the fill type.
Can be one of these XlAutoFillType values:
If this argument is xlFillDefault or omitted, Microsoft Office Excel selects the most appropriate fill type, based on the source range.
Return Value
Type: ObjectOptional Parameters
For information on optional parameters, see Optional Parameters in Office Solutions.
- 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.