public void CopyTo(uint targetRow, uint targetCol) { string str = ExcelFormula.Translate(this.Text, (int)(targetRow - this._row), (int)(targetCol - this._col)); this._wsheet.Cells[targetRow, targetCol].Formula.Text = str; }
public void CopyTo(uint targetRow, uint targetCol) { string newFormulaText = ExcelFormula.Translate(this.Text, (int)targetRow - (int)_row, (int)targetCol - (int)_col); _wsheet.Cells[targetRow, targetCol].Formula.Text = newFormulaText; }