Excel for WPF and Silverlight
CopyFormula Method (XLSheet)

C1.WPF.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.
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 _
) 
public void CopyFormula( 
   System.int rowFrom,
   System.int colFrom,
   System.int rowTo,
   System.int colTo
)

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

Reference

XLSheet Class
XLSheet Members