Hi, i've got a code that consolidates all of the data within several sheets in a workbook, and creates a new sheet titled "Combined" with all the compiled data. It also trims the data (removes a couple unnecessary columns and rows) and does a few other tweaks to make it look more presentable. However, as I must update this data every month, I've noticed an error with my new data not being properly combined. The error i'm seeing is this: All of sheet 1 is properly copied and pasted, except beginning at sheet 2, the FIRST row of data is not copied over and the LAST row of data is only copying a portion. This error seems to repeat throughout the rest of the sheets. Here's my code:
The attachment is made with dummy data that hopefully portrays the issue, however the code should not be ran on this attachment, it will not work properply, rather I'll explain the results of the code with my original file.
After the above code is ran, all of sheet 1 is copied properly into the new "Combined" sheet, but note starting at SHEET 2, COMPANY 23 is not included in the combined sheet, and yet it skips it and continues with COMPANY 24 then towards the bottom of SHEET 2, COMPANY 67 name is copied properly, but only ITEM REQUIRED 90 is pasted into the combined sheet. This error seems to replicate throughout.
Any help is greatly appreciated!! Thanks!
Mark excel tickler.xlsx
Bookmarks