Disabling clipboard prompt

  • Thread starter Thread starter sbitaxi
  • Start date Start date
S

sbitaxi

Hello:

When I close a workbook in a macro, I get a prompt asking "Are you
sure? There is a lot of data in the clipboard." How do I disable this
prompt?


Steven
 
You can clear the clipboard before closing:

application.cutcopymode = false
'code to close
 

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

Similar Threads

Closing workbook open as CSV 3
Reference named range in closed workbook 23
Clipboard Event Handler? 1
clear clipboard 1
popup warning 3
Clear Clipboard after Copy 5
Help with Clipboard 1
Clipboard Question 6

Back
Top