I built the following macro to help me pull 22,000+ rows of data from a spreadsheet that I get every Monday:
For ease of reading, Ill break it down into steps:
Step 1 - Renames the existing sheet to "852", adds a second sheet called "Dump", & creates headers for columns A:K in row 1.
Step 2 - Take data from column B row 13 to the last row of data in B based on column A and pasts it to "Dump" starting in C2:
Step 3, 4, & 5 - Similar to Step 2 except they are applied to and pasted in:
column D into "Dump" A2
column G into "Dump" H2
column H into "Dump" K2
Again you will see that I am selecting data from column (D,G or H) row 13 to the last row of data in B based on column A:
I feel like there is a more efficient way to code this so that steps 2 through 5 copy the respective data and then pastes in into the new sheet.
If it makes things easier I can have the data pasted in columns A through D on the Dump sheet.
Thanks!
Bookmarks