Posted 27 November 2017, 7:48 am EST
Hi,
We have used below code (ClipboardCopy/ClipboardPaste function) to copy formulas from one cell to another. it works fine for windows spread. The same code does not work for web sheet.
public void CopyFormulas(int sheetno, int fromrow, int torow, int col)
{
var sheet = form.InpRptSpread.Sheets[sheetno];
sheet.AddSelection(fromrow, col, 1, 1);
sheet.[b]ClipboardCopy/b;
sheet.ActiveColumnIndex = col; sheet.ActiveRowIndex = torow; sheet.[b]ClipboardPaste[/b](ClipboardPasteOptions.Formulas); }
Could you please help in this?