CellEditCommand Constructor(IWorksheet,Int32,Int32,Int32,Int32,String,Boolean,Int32,Boolean,Direction)
In This Topic
Initializes a new instance of the
CellEditCommand class.
Syntax
'Declaration
Public Function New( _
ByVal As IWorksheet, _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Integer, _
ByVal column2 As Integer, _
ByVal As String, _
ByVal As Boolean, _
ByVal As Integer, _
ByVal As Boolean, _
Optional ByVal As Direction _
)
'Usage
Dim worksheet As IWorksheet
Dim row As Integer
Dim column As Integer
Dim row2 As Integer
Dim column2 As Integer
Dim formula As String
Dim applyNumberFormat As Boolean
Dim numFmt As Integer
Dim arrayFormula As Boolean
Dim activeCellLocation As Direction
Dim instance As New CellEditCommand(worksheet, row, column, row2, column2, formula, applyNumberFormat, numFmt, arrayFormula, activeCellLocation)
Parameters
- worksheet
- The processing GrapeCity.Spreadsheet.Worksheet object.
- row
- An integer value indicates the top row index of cell range.
- column
- An integer value indicates the left column index of cell range.
- row2
- An integer value indicates the bottom row index of cell range.
- column2
- An integer value indicates the right column index of cell range.
- formula
- The new cell formula.
- applyNumberFormat
- numFmt
- The new number format of cell.
- arrayFormula
- activeCellLocation
See Also