LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Using "Paste" Method in VBA

I have a VBA program that uses both "PasteSpecial" and "Paste" Methods.

I have no problem using the "PasteSpecial" Method as follows:

Sheets("Val").Range("BE19:BE66").Copy
Set MyRangePaste = Sheets("Save_Scen").Range("H124")
MyRangePaste.PasteSpecial Paste:=xlValues, Operation:=xlNone,
SkipBlanks:= _
False, Transpose:=False

I get an "Object doesn't support this property or object" error message,
however, when I try to use the following that looks to me like a comparable
command for the "Paste" method:

Sheets("Val").Range("BE19:BE66").Copy
Set MyRangePaste = Sheets("Save_Scen").Range("H124")
MyRangePaste.Paste

I would like to use the "Paste" method without "Selecting" a worksheet. How
can I do this in a manner comparable to the above approach that I am using
for the "PasteSpecial" method?

Thanks much for any help.
--
needVBAhelp
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in Macro: "Method 'Paste' of object '_Worksheet' failed" blork Excel Programming 7 March 5th 06 05:48 PM
What is Error "Method "Paste" of object "_Worksheet" failed? vat Excel Programming 7 February 17th 06 08:05 PM
Complex if test program possible? If "value" "value", paste "value" in another cell? jseabold Excel Discussion (Misc queries) 1 January 30th 06 10:01 PM
XL2003 "paste method of worksheet class failed" Chuck Elsham Excel Programming 11 May 13th 05 12:57 PM
Getting "compile error" "method or data member not found" on reinstall Bp Excel Programming 1 April 23rd 04 04:42 PM


All times are GMT +1. The time now is 07:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"