Quantcast
Channel: NPOI
Viewing all articles
Browse latest Browse all 1621

Commented Unassigned: NPOI problem on SetCellFormula with custom formula [13174]

$
0
0
Hello, I have an application that fills with data an excel template .Template has .xlsm format .In template I created vba function called SumByColor when i try to set a cell formula to this function i get :
{"Name 'SumByColor' is completely unknown in the current workbook"}
I set formula like this :
```
sheet.GetRow(rowIndex).GetCell(startPos + 2).SetCellFormula(string.Format("SumByColor($AQ$7,F{0}:AI{0})",rowIndex+1));
```
Comments: ** Comment from web user: tonyqus **

custom function defined in VBA is NOT supported by NPOI.


Viewing all articles
Browse latest Browse all 1621

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>