Vishal.jagani
New Member
Hi Guys,
This is some twisted complicated for me (not for you guys I hope)Let me explain whole thing
In my Work I have to some process with two file everyday. for 45 different files
In past I have already post regarding little same and I got answer already from You guys(Narayan) but in that process I still need to make much better process then now.
Here :
I am getting new files everyday which data I need to process but before process new file I just need to process old file with data null.
What I expect : One Macro when I open that macro file, these both file should be open (First would be open Old file data and below that paste new file data i.e- If old files data range is A1:K2500 then new file data paste at A2501:K...) I need data from new file so don't do anything with new file data,
both files has same column fields : so compare with one specific column(ID)
and find duplicate ID and only delete rows which are duplicates in OLD files, So simple Need to delete only from Old file and Which are not duplicate please make Quantity filed value as "0"
Now result like : First all rows would be with quantity data "0" and rest data would be from new file
That's It, Its seems tricky and I explain much more so If I bother you then I am sorry.
Here I've attached sample file file A is Old file, File B is New file and File C is expected Output
Please find attached below
Thanks
This is some twisted complicated for me (not for you guys I hope)Let me explain whole thing
In my Work I have to some process with two file everyday. for 45 different files
In past I have already post regarding little same and I got answer already from You guys(Narayan) but in that process I still need to make much better process then now.
Here :
I am getting new files everyday which data I need to process but before process new file I just need to process old file with data null.
What I expect : One Macro when I open that macro file, these both file should be open (First would be open Old file data and below that paste new file data i.e- If old files data range is A1:K2500 then new file data paste at A2501:K...) I need data from new file so don't do anything with new file data,
both files has same column fields : so compare with one specific column(ID)
and find duplicate ID and only delete rows which are duplicates in OLD files, So simple Need to delete only from Old file and Which are not duplicate please make Quantity filed value as "0"
Now result like : First all rows would be with quantity data "0" and rest data would be from new file
That's It, Its seems tricky and I explain much more so If I bother you then I am sorry.
Here I've attached sample file file A is Old file, File B is New file and File C is expected Output
Please find attached below
Thanks