Hi all,
I have tried compiling separate macros I've used, but need one of them to loop through each worksheet (it previously only ran on a single worksheet at a time).
The goal is to have the first part of the macro insert the worksheet name in the blank cells of Column C, and to repeat through all of the worksheets. Once that is done, the macro creates a new worksheet called "Consolidated" and then pulls the data from all other worksheets and compiles the data.
My problem is that when I run the macro, only the active worksheet is inserting the worksheet name in the appropriate cells. The consolidation then runs, but it is missing data that wasn't created by the first part of the macro.
Your help would be appreciated.
![]()
Please Login or Register to view this content.
Bookmarks