ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Paste Method failed (Activesheet.Paste) (https://www.excelbanter.com/excel-programming/342664-paste-method-failed-activesheet-paste.html)

MS Excel

Paste Method failed (Activesheet.Paste)
 
Hi,

While using Activesheet.Paste in a newly created book through workbook.add
function, I got following message
"Paste method of workbook class failed."
To my amazement, the same was working perfectly in MS EXCEL XP but when
upgraded to Excel 2003 its creating problem..

Any idea.?

Syed



Tom Ogilvy

Paste Method failed (Activesheet.Paste)
 
I am happy to report the command works fine in xl2003.

Demo'd from the immediate window:
worksheets("Sheet2").Range("A1").Resize(3,3).copy
Activesheet.Paste
? Worksheets("Sheet2").Range("A1").Value
792
? activecell.Value
792

Now the challenge is to identify what environmental/situational aspect
specific to your situation is causing the problem.



--
Regards,
Tom Ogilvy


"MS Excel" wrote in message
...
Hi,

While using Activesheet.Paste in a newly created book through workbook.add
function, I got following message
"Paste method of workbook class failed."
To my amazement, the same was working perfectly in MS EXCEL XP but when
upgraded to Excel 2003 its creating problem..

Any idea.?

Syed





Dave Peterson

Paste Method failed (Activesheet.Paste)
 
You have another response in .excel

MS Excel wrote:

Hi,

While using Activesheet.Paste in a newly created book through workbook.add
function, I got following message
"Paste method of workbook class failed."
To my amazement, the same was working perfectly in MS EXCEL XP but when
upgraded to Excel 2003 its creating problem..

Any idea.?

Syed


--

Dave Peterson


All times are GMT +1. The time now is 08:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com