|
|
Question : Run-time Error 1004 Application-defined or object-defined error with Paste, Special, Values operation
|
|
Hi Experts,
I am getting a "Run-time Error '1004': Application-defined or object-defined" error at the following line of code:
ActiveSheet.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=False
Visual Basic Help is of little value with this error - I appreciate anybody's ideas.
Thanks,
Jeff
|
Answer : Run-time Error 1004 Application-defined or object-defined error with Paste, Special, Values operation
|
|
Change -
ActiveSheet.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=False
to:
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=False
|
|
|
|
|