Hi,
I have a macro that runs and merges data, removes duplicates, etc. daily. I'd like for the macro to log the duplicates that are going to be removed before they are removed.
The duplicate comparisons are at an entire row level on the same worksheet and I'd like for the duplicate row to be copied into a secondary worksheet in the same workbook before my remove duplicates function runs.
The "duplicate log" worksheet additionally (ideally) would have a first column that is the "from" worksheet name and the second column would be a "current date/time stamp". The duplicate row paste would begin in the third column. Since the macro runs every day, the newest duplicates would write on rows under yesterdays duplicates.
Any ideas on the best way to accomplish this?
Thanks in advance
I have a macro that runs and merges data, removes duplicates, etc. daily. I'd like for the macro to log the duplicates that are going to be removed before they are removed.
The duplicate comparisons are at an entire row level on the same worksheet and I'd like for the duplicate row to be copied into a secondary worksheet in the same workbook before my remove duplicates function runs.
The "duplicate log" worksheet additionally (ideally) would have a first column that is the "from" worksheet name and the second column would be a "current date/time stamp". The duplicate row paste would begin in the third column. Since the macro runs every day, the newest duplicates would write on rows under yesterdays duplicates.
Any ideas on the best way to accomplish this?
Thanks in advance