stuartpurdie
New Member
- Joined
- Apr 1, 2004
- Messages
- 8
![Roll eyes :help: :help:](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f644.png)
I'm trying to set up a toolbar button to paste formulas only. I want to be able to copy a cell, select a destination and then hit the button to paste the formula.
I edited a recorded macro to leave: -
Sub mcrPasteFormulas()
'
Selection.PasteSpecial Paste:=xlFormulas, Operation:=xlNone, SkipBlanks:= False, Transpose:=False
'
End Sub
When I copy the cell, select the destination then run the macro I get a "Runtime error '1004': PasteSpecial method of Range class failed".
Can anyone tell me what's going wrong?
![Oops! :banghead: :banghead:](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f633.png)