IRange.AutoFill Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function AutoFill ( _
Destination As Range, _
Type As XlAutoFillType _
) As Object
'Usage
Dim instance As IRange
Dim Destination As Range
Dim Type As XlAutoFillType
Dim returnValue As Object
returnValue = instance.AutoFill(Destination, _
Type)
Object AutoFill(
Range Destination,
XlAutoFillType Type
)
Parameters
- Destination
Type: Microsoft.Office.Interop.Excel.Range
Return Value
Type: System.Object