crmurray84
New Member
- Joined
- May 22, 2016
- Messages
- 2
Hello everyone-
I hope everybody is doing well. I have been spinning my wheels on trying to figure out how to best finish coding this Excel macro, and I figured at this point I should just reach out to the experts! I have attached a (scrubbed) sample picture of what I am working on for an internal customer.
At a high level, the customer will be entering data in the "Assumptions List" tab, which will make copies of a "template" tab, name these copies based on the data in cell C, and fill out relevant portions of the copied tabs. All of these tabs that are copied are moved in between a "Start" and "End" tab in order to provide high level rollup summaries easily.
This methodology has worked very well so far, however, I have recently been tasked to revise the macro to allow for "sub" rollups. To make a long story short, I have the following tabs (listed below). The customer would like the ability to have dynamic subrollups of the groups of tabs with letters listed at the end. For example, in this instance, the macro would sum up the data from all of the lines in each 255705 tab (A through B) and each 259601 (A through J) tab and produce a consolidated "template" outside of the normal "Start" and "End" range so as not to impact the Summary tabs that currently exist.
For some reason, I cannot for the life of me figure out how to code this into a macro that will be dynamic and allow the functionality for different users and sets of data. Any help would be greatly appreciated. Thanks in Advance-- have a great weekend everybody!!
[TABLE="width: 208"]
<colgroup><col></colgroup><tbody>[TR]
[TD]255705A[/TD]
[/TR]
[TR]
[TD]259601A[/TD]
[/TR]
[TR]
[TD]259601B[/TD]
[/TR]
[TR]
[TD]259601C[/TD]
[/TR]
[TR]
[TD]259601D[/TD]
[/TR]
[TR]
[TD]259601E[/TD]
[/TR]
[TR]
[TD]255705B[/TD]
[/TR]
[TR]
[TD]259601F[/TD]
[/TR]
[TR]
[TD]259601G[/TD]
[/TR]
[TR]
[TD]259601H[/TD]
[/TR]
[TR]
[TD]259601I[/TD]
[/TR]
[TR]
[TD]259601J[/TD]
[/TR]
[TR]
[TD]
[/TD]
[/TR]
</tbody>[/TABLE]
I hope everybody is doing well. I have been spinning my wheels on trying to figure out how to best finish coding this Excel macro, and I figured at this point I should just reach out to the experts! I have attached a (scrubbed) sample picture of what I am working on for an internal customer.
At a high level, the customer will be entering data in the "Assumptions List" tab, which will make copies of a "template" tab, name these copies based on the data in cell C, and fill out relevant portions of the copied tabs. All of these tabs that are copied are moved in between a "Start" and "End" tab in order to provide high level rollup summaries easily.
This methodology has worked very well so far, however, I have recently been tasked to revise the macro to allow for "sub" rollups. To make a long story short, I have the following tabs (listed below). The customer would like the ability to have dynamic subrollups of the groups of tabs with letters listed at the end. For example, in this instance, the macro would sum up the data from all of the lines in each 255705 tab (A through B) and each 259601 (A through J) tab and produce a consolidated "template" outside of the normal "Start" and "End" range so as not to impact the Summary tabs that currently exist.
For some reason, I cannot for the life of me figure out how to code this into a macro that will be dynamic and allow the functionality for different users and sets of data. Any help would be greatly appreciated. Thanks in Advance-- have a great weekend everybody!!
[TABLE="width: 208"]
<colgroup><col></colgroup><tbody>[TR]
[TD]255705A[/TD]
[/TR]
[TR]
[TD]259601A[/TD]
[/TR]
[TR]
[TD]259601B[/TD]
[/TR]
[TR]
[TD]259601C[/TD]
[/TR]
[TR]
[TD]259601D[/TD]
[/TR]
[TR]
[TD]259601E[/TD]
[/TR]
[TR]
[TD]255705B[/TD]
[/TR]
[TR]
[TD]259601F[/TD]
[/TR]
[TR]
[TD]259601G[/TD]
[/TR]
[TR]
[TD]259601H[/TD]
[/TR]
[TR]
[TD]259601I[/TD]
[/TR]
[TR]
[TD]259601J[/TD]
[/TR]
[TR]
[TD]

[/TR]
</tbody>[/TABLE]