Copy and Paste question

R

Richard

I have a macro that copies and pastes a large amount of data. After it has
run I get the question:
" There is a large amount of information on the clipboard. Do you want to
[keep it]?"

Could someone please tell me how I can avoid this question being asked as I
never wish to keep the data?

Many thanks
 
D

DS NTE

Insert this line after the pasting is done, it will clear the clipboard:

Application.CutCopyMode = False


hth
knut egil
 

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