A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
thanks Bernie,
I'm almost too embarrassed to say what the problem was but it was because I had 2 modules with the same code and I was changing the cell reference in the module that was not assigned to the execute button. your shortened code has helped me tidy things up a bit and has also broadened my understanding somewhat. thanks again
That code is the same as
Range("H84").Copy
Range("E4").PasteSpecial Paste:=xlPasteValues
Range("H85").Copy
Range("E40").PasteSpecial Paste:=xlPasteValues
Range("E87").Copy
Range("E85").PasteSpecial Paste:=xlPasteValues
Range("H39").Copy
Range("D16").PasteSpecial Paste:=xlPasteValues
and I don't see any issues with it.