Greetings MrExcel community,
I'm working on a VBA macro that allows me to send values from source workbook to destination workbook, with duplicates validation message box that provides two options - delete or retain. I'm done with the copy pasting values from source to destination files, however, I am struggling with the validating duplicates, the message box with two options "Keep or Delete" and removing duplicates within the destination file (the origin file does not matter in this case). A gentle reminder that this is a part of an existing macro!
Thanks in advance!
This is the sample file. I will lay every step I'd like to see in the macro.
This is the destination file with duplicates titled 'destinationfile.csv.'
I want the file to do the following:
1) validate total duplicates (I have built a SQL data feed) by locating the duplicate name
*No idea how to visualize it through excel, will use paint for that.
2) pop a message box with a request to keep or delete (THIS IS ONLY FOR COLUMN B)
*No idea how to visualize it through excel, will use paint again.
3) The macro then deletes the selected ones, and displays the total deleted duplicates
I'm working on a VBA macro that allows me to send values from source workbook to destination workbook, with duplicates validation message box that provides two options - delete or retain. I'm done with the copy pasting values from source to destination files, however, I am struggling with the validating duplicates, the message box with two options "Keep or Delete" and removing duplicates within the destination file (the origin file does not matter in this case). A gentle reminder that this is a part of an existing macro!
Thanks in advance!
This is the sample file. I will lay every step I'd like to see in the macro.
This is the destination file with duplicates titled 'destinationfile.csv.'
I want the file to do the following:
1) validate total duplicates (I have built a SQL data feed) by locating the duplicate name
*No idea how to visualize it through excel, will use paint for that.
2) pop a message box with a request to keep or delete (THIS IS ONLY FOR COLUMN B)
*No idea how to visualize it through excel, will use paint again.
3) The macro then deletes the selected ones, and displays the total deleted duplicates