Hi
There are a couple of ways you could do this.
1) Use the worksheetfunction.countif on the column that contains the ID and if it is > 0 then you have a duplicate.
2) Use find to set a range variable to that ID. If it is nothing then it doesn't exist and has to be added. If not then you get a reference point for the update. In your case, this will probably be the better / easier option.
You haven't given any indication of where the data is coming from on the input workbook, or where to look on the output so giving you more than generic code structure is a bit difficult.
HTH
rylo
Bookmarks