Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Clearing Clipboard

I have been working with some code to take data from a
master workbook and create multiple other workbooks and
sheets. Everything works fine except that after copying
and pasting the data onto a secondary sheet, saving it and
closing it... I get a dialog box about emptying the
clipboard that requires input. Is there a way in the code
to empty the clipboard prior to closing my secondary
sheet? Or, perhaps a way to stop the dialog box from
appearing? I do not want the program interupted each time
a secondary sheet is closed... as I am creating a couple
hundred of them at a time.
Thanks!! patrick
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Clearing Clipboard

Application.Cutcopymode = False

will enter the clipboard if it contains a large range (which sounds like the
case).

--
Regards,
Tom Ogilvy


"Patrick" wrote in message
...
I have been working with some code to take data from a
master workbook and create multiple other workbooks and
sheets. Everything works fine except that after copying
and pasting the data onto a secondary sheet, saving it and
closing it... I get a dialog box about emptying the
clipboard that requires input. Is there a way in the code
to empty the clipboard prior to closing my secondary
sheet? Or, perhaps a way to stop the dialog box from
appearing? I do not want the program interupted each time
a secondary sheet is closed... as I am creating a couple
hundred of them at a time.
Thanks!! patrick



Reply
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
clearing the clipboard [email protected] Excel Discussion (Misc queries) 2 April 25th 07 09:11 AM
clearing the clipboard mike Excel Programming 1 March 4th 04 08:34 PM
Excel clearing clipboard [email protected] Excel Programming 1 February 9th 04 03:12 PM
Clearing clipboard Charles Maxson Excel Programming 1 December 1st 03 02:46 PM
Clearing clipboard Gord Dibben Excel Programming 1 November 27th 03 11:37 AM


All times are GMT +1. The time now is 03:04 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"