ChrisDesign
Technical User
Hello,
I have a problem which I'm working on that has gotten rather involved. I have multiple sheets with a column of names and a column of quantities on each, and I'd like to create a macro that will bring it all together to give me a grand total on a first page.
A couple of problems have been stumping me. First, there is a variable number of pages, and a variable number of equipment items. Second, the same equipment item can appear on multiple pages, in which case I'd like it to add the subtotals together. Finally, there is a fair amount of white space between equipment items which cannot be removed.
If anyone has any suggestions, please let me know. Right now I'm working on a couple of loops, one going through each sheet, and one going through the rows. My plan is to have it all added to an array, which is checked on each iteration, but I'm not exactly good with the syntax and methods of moving from sheet to sheet and adding the information into a single array.
Thanks for the help
I have a problem which I'm working on that has gotten rather involved. I have multiple sheets with a column of names and a column of quantities on each, and I'd like to create a macro that will bring it all together to give me a grand total on a first page.
A couple of problems have been stumping me. First, there is a variable number of pages, and a variable number of equipment items. Second, the same equipment item can appear on multiple pages, in which case I'd like it to add the subtotals together. Finally, there is a fair amount of white space between equipment items which cannot be removed.
If anyone has any suggestions, please let me know. Right now I'm working on a couple of loops, one going through each sheet, and one going through the rows. My plan is to have it all added to an array, which is checked on each iteration, but I'm not exactly good with the syntax and methods of moving from sheet to sheet and adding the information into a single array.
Thanks for the help