I'm having problems trying to get my code to work and I need some improvements to it as well.
I need to copy and paste all the values in the Source worksheet ("Totals") to the destination worksheet ("Monthly Overall"), but only if the column headers (which are date values) in the source worksheet ("Totals") match the destination worksheet ("Monthly Overall") column headers (which are dates as well). I would also like it, if it could verify, before copying, that the order of the list of names match in both worksheets, if it doesn't match then don't copy.
Another issue is that I have three sets of tables within the Source worksheet that need to be taken into account, so I'm not sure what's the best way to go through all the data ranges and copy them to the destination worksheet if the above criteria (s) are met.
My initial approach was to look at the column dates and if they match then copy and paste the column to the destination worksheet that matches that date value.
Here is what I have so far, please help, I'm new to VBA and this code is not working for me:
FYI: The reason why I need this is because the source data will be changing and I need to keep a record of that data.![]()
Please Login or Register to view this content.
Bookmarks