Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 158
Default Disabling clipboard prompt

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Disabling clipboard prompt

Application.CutCopyMode = False

Entered above "End Sub"


Gord Dibben MS Excel MVP

On Fri, 15 Aug 2008 08:25:54 -0700 (PDT), wrote:

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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Disabling clipboard prompt

You can clear the clipboard before closing:

application.cutcopymode = false
'code to close

wrote:

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


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 158
Default Disabling clipboard prompt

Gord/Dave:

Thank you, saves me a whole lot of frustration.


S

On Aug 15, 12:19*pm, Dave Peterson wrote:
You can clear the clipboard before closing:

application.cutcopymode = false
'code to close

wrote:

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


--

Dave Peterson


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
Override prompt for Office Clipboard Brent E Excel Discussion (Misc queries) 3 October 14th 08 07:30 PM
Office Clipboard empties itself when enabling/disabling commandbars [email protected] Excel Programming 0 October 24th 07 06:39 PM
Need to turn off prompt about putting on clipboard or not... KyWilde Excel Discussion (Misc queries) 0 April 27th 05 11:37 PM
Disabling refresh data changed PivotTable prompt Dan Excel Programming 0 April 19th 04 08:52 PM
macro to respond to clipboard prompt? gary Excel Programming 4 September 15th 03 03:59 AM


All times are GMT +1. The time now is 01:01 PM.

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

About Us

"It's about Microsoft Excel"