LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Large Amount of Info on Clipboard

Using Excel 2003 I recorded a macro that opens a second file, copies a large
amount of data from it that gets pasted into the original file, then closes this
second file. I've used this code as a base to do what I actually want.

My problem is when the code closes the second file with:
ActiveWindow.Close Savechanges:=False

At that point Excel comes to a halt with a message window telling me that
there's a large amount of data on the clipboard, and do I want to save it? How
do I get VBA to tell it 'no' without this message window coming up?

Thanks.

Bill
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disable "There is a large amount of data on the clipboard..." Bill Board Excel Discussion (Misc queries) 5 July 29th 08 11:10 PM
Macros and large clipboard error Sarahds Excel Programming 0 August 2nd 06 05:23 AM
Large amount of info on the clipboard ledzepe Excel Discussion (Misc queries) 2 March 1st 06 11:15 PM
Sum of Totals from a large amount of Info + colour presentation Tom Ogilvy Excel Programming 0 August 8th 03 01:48 PM
Sum of Totals from a large amount of Info + colour presentation keepitcool Excel Programming 0 August 8th 03 12:21 PM


All times are GMT +1. The time now is 08:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"