Skip to content

Commit

Permalink
Added extra summing of cell "PROVISIE" to cell "TOTAAL van Projecten …
Browse files Browse the repository at this point in the history
…+ BJB"
  • Loading branch information
aredfox committed Nov 17, 2017
1 parent 20dae9e commit b2e0491
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ private void Export(object sender, DoWorkEventArgs e) {
ws.Cells[$"C{lineCounter}"].Style.VerticalAlignment = ExcelVerticalAlignment.Bottom;
ws.Cells[$"C{lineCounter}"].Value = "TOTAAL van Projecten + BJB";
ws.Cells[$"C{lineCounter}:E{lineCounter}"].Style.Font.Bold = true;
ws.Cells[$"E{lineCounter}"].Formula = $"={String.Join("+", totalsFormula.ToArray())}";
ws.Cells[$"E{lineCounter}"].Formula = $"={String.Join("+", totalsFormula.ToArray())}+E{lineCounter-1}";
ws.Cells[$"E{lineCounter}"].Style.Numberformat.Format = "#,##0.00";
lineCounter++;

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b2e0491

Please sign in to comment.