C1.Excel Assembly / C1.Excel Namespace / XLSheet Class / CopyFormula Method
The row index of a source cell with exist formula.
The column index of a source cell with exist formula.
The row index of a destination cell for copies the formula.
The column index of a destination cell for copies the formula.

In This Topic
CopyFormula Method
In This Topic
Copies the formula from a source cell to a destination cell, adjusting relative references.
Syntax
'Declaration
 
Public Sub CopyFormula( _
   ByVal rowFrom As System.Integer, _
   ByVal colFrom As System.Integer, _
   ByVal rowTo As System.Integer, _
   ByVal colTo As System.Integer _
) 
 

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