Hi All,
I'm looking for a way to increase the speed of a macro I've already written. The concept is to change the format of a very large sales report into something that can be manipulated into a pivot table.
The below code does work, but it runs rather slowly on the actual report I'm using it on at work (which is > 150k lines), so wondered if maybe there was a better way of doing it. I had considered an array, but after researching I am unsure how I would write the specific array values that I need, which are essentially always the 8 rows beneath the start row.
Essentially this macro cuts rows and transplants them onto a parent row which is linked to the account number. I have attached a before and after spreadsheet, as hopefully that will show you what I'm trying to achieve.
Here is the code:
Please Login or Register to view this content.
Bookmarks