Closing workbook without saving clipboard

M

mcalex

Can someone point out to me how to do this? I have copied a large
range, and pasted it to a destination workbook. I go to close the
source workbook and have to answer a dialog asking me if i want to
save the clipboard data (which I don't as it's already pasted). My
question is, how do I programmatically tell this box that, or avoid it
appearing in the first place? I get no difference in my recorded
macro code when I do this, or do it without a large amount of data
being saved on the clipboard (and hence, no dialog). I can't find any
clipboard methods that might be useful, and workbook.close
saveChanges:= false doesn't work.

Any suggestions??

Thx
mcalex
 

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