Hi:
I have a worksheet that has a range of cells that are linked to another worksheet.
Every now and then I get a #Ref error on the worksheet in one of the cells.
It seems like this is happening when someone cuts and pastes data from one cell to another within the linked group of cells.
Example:
Worksheet 1:
Range("K4") linked to worksheet 2 Range("A4")
Range("K5") linked to worksheet 2 Range("A5")
Range("K6") linked to worksheet 2 Range("A6")
Range("K7") linked to worksheet 2 Range("A7")
When data is cut and pasted from say Range("K5") to ("K7") on worksheet 1
It produces a #Ref error on worksheet 2 for the cell that K5 was linked to.
Is there a way to prevent this maybe turn off cut and paste for a given range of cells with vba code?
Thanks
Charles
Bookmarks