Hi Everyone,
I have 2 really great macros I adapted to my needs from other posts but really want to combine them into one macro so that users only have to use one button to complete both processes. One compares column data between sheets and adds to the next empty row in sheet 1 if data from sheet 2 is not present. The other deletes rows from sheet 1 if data exists there that does not exist in sheet 2. This is basically an update to data that will be completed every month when new raw data is pasted into sheet 2. The reason I want to combine them is to make it a one button process for our end users.
Below is my code from both Subs - I do know that the references to sheets and ranges will need to change but I can't seem to work out which to do first and which references can be changed and which can't.
Any help would be very much appreciated!
This is the deleterows sub:
And the UpdateAddData sub is below:![]()
Please Login or Register to view this content.
Thanks in advance!![]()
Please Login or Register to view this content.
![]()
Bookmarks