Hi Guys
I am doing some excel work using macros.
Here i am stuck at a point. There is a button name "Add Row" in it. whenever we click this button one row is added in the sheet.
I want to perform SUM operation at columns for example column "M" starting from M8 to Last added Row. It is working fine as long as i click the Add Row button it add the numbers in that column and show the result in a cell.
But this formula is defined in a function "Add Row" and always called when this is clicked.
I want to know where else i can define this formula so that it automatically sum whenever i change quantity of M columns or row is inserted.
Below is the code. Hope i am able to describe my point
query_excel_1.png
Thanks and best regards
Bookmarks