What is wrong with this line of code

A

Ayo

This was working fine before and all of a sudden I starting getting
"PasteSpecial method of Range class failed"

Selection.PasteSpecial Paste:=xlPasteAll

Any ideas why?
 
J

JLGWhiz

Probably your Selection. PasteSpecial must have enough space to accommodate
what was put on the clipboard. Since you did not post all of the code, it
is just a guess.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top