PC Review


Reply
Thread Tools Rate Thread

Disabling clipboard prompt

 
 
sbitaxi@gmail.com
Guest
Posts: n/a
 
      15th Aug 2008
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
 
Reply With Quote
 
 
 
 
Gord Dibben
Guest
Posts: n/a
 
      15th Aug 2008
Application.CutCopyMode = False

Entered above "End Sub"


Gord Dibben MS Excel MVP

On Fri, 15 Aug 2008 08:25:54 -0700 (PDT), (E-Mail Removed) 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


 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      15th Aug 2008
You can clear the clipboard before closing:

application.cutcopymode = false
'code to close

(E-Mail Removed) 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 With Quote
 
sbitaxi@gmail.com
Guest
Posts: n/a
 
      18th Aug 2008
Gord/Dave:

Thank you, saves me a whole lot of frustration.


S

On Aug 15, 12:19*pm, Dave Peterson <peter...@verizonXSPAM.net> wrote:
> You can clear the clipboard before closing:
>
> application.cutcopymode = false
> 'code to close
>
> sbit...@gmail.com 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
remove clipboard prompt??? fishqqq@hotmail.com Microsoft Access Form Coding 0 26th Nov 2008 07:51 PM
Office Clipboard empties itself when enabling/disabling commandbars naveen.tadepalli@gmail.com Microsoft Excel Programming 0 24th Oct 2007 06:39 PM
Re: Disabling Clipboard in RDP Connections Wesley Vogel Windows XP Performance 1 12th Jan 2007 10:30 PM
Clipboard gets empty by itself, cleared clipboard, copy paste doesn't work, outlook clears clipboard, problems with clipboard - possible solution Jens Hoerburger Microsoft Outlook 0 24th Aug 2006 02:44 PM
disabling the Windows XP clipboard Sharon Microsoft Windows 2000 Security 5 11th Dec 2003 02:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:09 AM.