I had do a lot manual stuff with a sheet that included pasting by value ("paste special..." -> "value"
. So being the lazy pos I am, I wrote a macro that does paste by value and made a custom button for it.... that way it only requires 2 clicks to do rather than 4 (1.right click cell, 2. click "paste special..." 3 and 4. double click "value"
. However, now that I've done this as a macro, I can't undo when I make a mistake. Is there anyway to implement undo for a macro. Or at the very least can I write another macro which can reverse the effects of running this macro:
Sub pasteValue()
Selection.PasteSpecial Paste:=xlValues, _
operation:=xlNone, SkipBlanks:= False, Transpose:=False
End Sub
-Venkman
Sub pasteValue()
Selection.PasteSpecial Paste:=xlValues, _
operation:=xlNone, SkipBlanks:= False, Transpose:=False
End Sub
-Venkman