PC Review


Reply
Thread Tools Rate Thread

Clear Clipboard command in Excel 2007

 
 
Rob
Guest
Posts: n/a
 
      19th May 2009
I am currently using Excel 2000 and use the following command to clear the
clipboard
CommandBars("Clipboard").Controls("Clear Clipboard").Execute
I am also running Excel 2007 but when I run the macro it always stops on
this command.
Does anyone know what the equivalent command is in 2007
 
Reply With Quote
 
 
 
 
Ron de Bruin
Guest
Posts: n/a
 
      19th May 2009
Hi Rob

I think in 2007 it is only possible to call the dialog
Application.CommandBars("Office Clipboard").Visible = True

But If you copy with code you can use this after your paste line to clear the clipboard
Application.CutCopyMode = False

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm




"Rob" <(E-Mail Removed)> wrote in message news:13032A14-B6A4-484A-B238-(E-Mail Removed)...
>I am currently using Excel 2000 and use the following command to clear the
> clipboard
> CommandBars("Clipboard").Controls("Clear Clipboard").Execute
> I am also running Excel 2007 but when I run the macro it always stops on
> this command.
> Does anyone know what the equivalent command is in 2007

 
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
Clear Excel Clipboard with VBA Barb Reinhardt Microsoft Excel Programming 2 10th Jun 2008 05:19 PM
Clear and control the Office clipboard in Excel =?Utf-8?B?cXVhcnR6?= Microsoft Excel Programming 0 22nd Feb 2005 08:33 PM
Keyboard command to clear clipboard =?Utf-8?B?VGhvbQ==?= Windows XP General 5 26th Oct 2004 09:27 PM
Pasting in Excel should NOT clear the clipboard! =?Utf-8?B?TWlsbmV5?= Microsoft Excel Misc 2 20th Oct 2004 06:50 PM
Clear Clipboard on Workbook Close Event (Excel XP) Culichi Microsoft Excel Programming 2 23rd Feb 2004 06:21 PM


Features
 

Advertising
 

Newsgroups
 


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