Speeding up the insertion of formulas via xlcFormula via Excel-DNA -


i using excel-dna insert formulas 40k rows * 10 columns, , quite slow.

 xlcall.excel(xlcall.xlcformula, myformula, new excelreference(row, row, column, column)); 

i managed improve dramatically temporarily disabling recalculation of cells on update (xlcall.excel(xlcall.xlccalculation, 3);), ideally find way put entire column of formulas excel in single operation (i assuming improve speed).

i tried passing object[,] call xlcformula:

 xlcall.excel(xlcall.xlcformula, excelformulas, new excelreference(1, lastrow, columnnumber, columnnumber)); 

but put formulas single field (separated semicolons). there way trying do, or wasting time on impossible?

you try screen updating switched off xlcall.excel(xlcall.xlcecho, false).

what using clipboard? copy formulae (with tabs between columns) clipboard, , paste @ once excel sheet. fast excel process formula strings.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -