AutoFillCommand Constructor
Initializes a new instance of the
AutoFillCommand class.
'Declaration
Public Function New( _
ByVal As Worksheet, _
ByVal As Reference, _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Integer, _
ByVal column2 As Integer, _
ByVal As AutoFillType _
)
'Usage
Dim worksheet As Worksheet
Dim range As Reference
Dim row As Integer
Dim column As Integer
Dim row2 As Integer
Dim column2 As Integer
Dim type As AutoFillType
Dim instance As New AutoFillCommand(worksheet, range, row, column, row2, column2, type)
Parameters
- worksheet
- A GrapeCity.Spreadsheet.Worksheet object indicates the worksheet.
- range
- the start range is filled
- row
- The top row of cells to be filled.
- column
- The left column of cells to be filled.
- row2
- The bottom row of cells to be filled.
- column2
- The right column of cells to be filled.
- type
- Specifies the fill type.