Hi Bernie,
Sorry, I think I haven't explained the situation enough.
Sheet2 is a copy of sheet1 (this is to track changes afterwards and sheet1 cannot be changed after making the copy (protected)). Sheet2 has also another user than sheet1. The user of sheet2 can delete and insert rows in column A (only on specific rows, the rest is protected). When the user of sheet2 is ready, a resume is made on a new sheet.
The data of sheet1 is copied to this new sheet, but because the user of sheet2 has made some changes, these changes should also be visible in the resume. Deleting data in sheet2 is no problem, because the original data is in sheet1. But inserting is a problem. These inserted data should be copied to the resume.
For example:
If sheet1 has data:
a (protected)
b
c
d (protected)
e
f
g
h
and the user of sheet2 changes this to:
a (protected)
c
d (protected)
x
y
z
e
f
g
h
it should be possible to allways copy the new data to the right place when checking the data a row above like in the code below. Only this code doesn't work.
Could you please help me fix the code. Thanks again!
Bookmarks