Stu Dapples
Active Member
- Joined
- Jan 12, 2009
- Messages
- 252
Think I am losing the plot...
Simple - select a cell, copy - selct another cell in a different worksheet, paste.... Easy....
Origin cell has formaula in it (=SUM(A1:A5)
It copies OK but when I paste, I just get #Ref error - it is pasting the formula and not the value (so the cell now contains (=Sum(#Ref))
Tried PasteSpecial, Paste, xlPasteValues - nothing.... Am I missing something?!
Code:
Sheet3.Range("L28").Copy Sheet9.Range("K12").PasteSpecial = xlPasteValues
Simple - select a cell, copy - selct another cell in a different worksheet, paste.... Easy....
Origin cell has formaula in it (=SUM(A1:A5)
It copies OK but when I paste, I just get #Ref error - it is pasting the formula and not the value (so the cell now contains (=Sum(#Ref))
Tried PasteSpecial, Paste, xlPasteValues - nothing.... Am I missing something?!
Code:
Sheet3.Range("L28").Copy Sheet9.Range("K12").PasteSpecial = xlPasteValues