china99boy
Registered User.
- Local time
- Yesterday, 21:55
- Joined
- Apr 27, 2006
- Messages
- 161
Hi all,
I have a query that is exported to an excel template. Everytime my data is exported to excel I may get more or less rows of information. What I am trying to do is create a macro or any way that would automate the process of placing the total for each column at the bottom. I could use the autosum function but the amount of rows are always changing. Once the data is imported into excel, I want excel to move to the last row and insert the sum for each column. Please help me with the best way to accomplish this task.
I have a query that is exported to an excel template. Everytime my data is exported to excel I may get more or less rows of information. What I am trying to do is create a macro or any way that would automate the process of placing the total for each column at the bottom. I could use the autosum function but the amount of rows are always changing. Once the data is imported into excel, I want excel to move to the last row and insert the sum for each column. Please help me with the best way to accomplish this task.
Last edited: