In This Topic
Copies the formula from a source cell to a destination cell, adjusting relative references.
Syntax
'Declaration
Public Sub CopyFormula( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer _
)
public void CopyFormula(
System.int ,
System.int ,
System.int ,
System.int
)
Parameters
- rowFrom
- The row index of a source cell with exist formula.
- colFrom
- The column index of a source cell with exist formula.
- rowTo
- The row index of a destination cell for copies the formula.
- colTo
- The column index of a destination cell for copies the formula.
See Also