The following code is for a Paste Value only event. And it works when the values are moved between the same sheet. However if I copy a value from a different workbook and run the macro, Excel complains that the data is out of range. How does one go about making a global paste-value macro that operates over the entire excel program?
Sub PasteValOnly()
'
' PasteValOnly Macro
' pastes values only
'
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
End Sub
And put the macro in your PERSONAL.XLSB, this way it will always work.
This is what I use: