Hi All,
I have a weird issue. I have a VBA that insert row's in my sheet. I also have a formula that does the total of a column but the issue I have is if I select the last row and press the button that trigger the "add row's" then my formula that does the subtotal won't work but if I select any other row and press the button that trigger the "add row's" then the formula update properly.
EX: my formula is: =SUBTOTAL(109,L6:L25)
If I select the last row and press the option to add row the formula stay the same thus it's not including the last line in my total.
but if I select any other row and press the option to add 1 row, my formula will look like this "=SUBTOTAL(109,L6:L26)" and the total is ok since it's calculating the line I added.
Here's my VBA code:
Thanks all,
Marc
Bookmarks