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

Created 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));
```

Viewing all articles
Browse latest Browse all 1621

Trending Articles



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