Hi there,
I'm trying to use the Subtotals function, but with subtotals on top.
looking at the code found here (which works okay), I changed this line:
cells.Subtotal(ca, 0, ConsolidationFunction.Sum, New Integer() { 1 })
into:
cells.Subtotal(ca, 0, ConsolidationFunction.Sum, New Integer() {1}, False, False, False)
which should result in showing the totals on top in stead of below the data. But when I look at output.xlsx (attached), i'm not seeing what I expect. (please look at expected.xlsx to see what I did expect)
any ideas on what might have gone wrong?
thanks in advance.