Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I set up a macro to do the following:
If Not rng Is Nothing Then sh.Range("A1").Copy Destination:=rng Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=False ....and it gives me error message 1004. Could you please tell me what's wrong with the above script? Thank you. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If Not rng Is Nothing Then
sh.Range("A1").Copy rng.PasteSpecial Paste:=xlValues, _ Operation:=xlNone, SkipBlanks:= _ False, Transpose:=False End if -- Regards, Tom Ogilvy "Katie" wrote in message ... I set up a macro to do the following: If Not rng Is Nothing Then sh.Range("A1").Copy Destination:=rng Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=False ...and it gives me error message 1004. Could you please tell me what's wrong with the above script? Thank you. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Getting Rid of Error Message | Charts and Charting in Excel | |||
VBA Error Message "Compile Error...." | Excel Discussion (Misc queries) | |||
changing the message in an error message | Excel Worksheet Functions | |||
How do I get rid of "Compile error in hidden module" error message | Excel Discussion (Misc queries) | |||
Error message | Excel Programming |