I am trying to find a way to update the subtotal at the bottom of the table so it includes newly inserted row values.
For example, in the following spreadsheet, I have a button that inserts rows at the end of a table (to add new items). This button utilizes vba. I just inserted row 4 using vba, and it is blank. However, in the subtotal line, the sum function did not change to include the new row. What can I add to the end of my VBA code to modify that sum formula to include the new row (and extend the range down by one cell)? So that whenever I use my button to add a row, it also extended the range by one cell down? (to include b4)