getting around a popup window during a macro

  • Thread starter Thread starter Dennis Schuessler
  • Start date Start date
D

Dennis Schuessler

I am running a macro to open a file, copy it, paste it to
a differnt workbook, and then close the orginal. When i
go to close it there is a popup that tell me "There is
large amount of info on the clipboad. Do you want to be
able to paste this information into another program
later?" I don't need the clipboad information anymore.
What do i need to add to macro to keep this from poping
up? Here is what I have in the macro to close it.

ActiveWorkbook.Close
 
Hi Dennis

After your paste line add this
Application.CutCopyMode = False
 

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

Back
Top