LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Controlling Office Clipboard in Excel with VBA

Not sure about XP/2003, but in 2000 the clipboard window is a CommandBar, so
you can use the CommandBar object to at least show/hide and activate the
clipboard window controls; e.g.
CommandBars("Clipboard").Visible = True
CommandBars("Clipboard").Controls(4).Execute ' Controls(4) is the Clear
Clipboard button
CommandBars("Clipboard").Visible = False

It does not appear you can set the options from the CommandBar object, so
you would need to programmatically access the menu items; this could probably
be done through the Windows API (CheckMenuItem); for details see
http://msdn.microsoft.com/library/de...rces/menus.asp

"quartz" wrote:

Is it possible to clear the contents of the Office clipboard window that pops
up in Windows XP and Excel 2003 using VBA? I have tried several methods that
fail.

Also, is it possible to programmatically set its options (e.g. "Show office
clipboard icon in taskbar", "Collect without showing Office Clipboard" etc.)?

Could someone please post example code/functions? Thanks much in advance.

 
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
Excel clipboard in Microsoft Office 2007 Daffydd New Users to Excel 2 September 1st 09 01:25 PM
office clipboard too slow in Excel 2007 Debbie[_3_] Excel Discussion (Misc queries) 0 November 2nd 07 08:33 PM
Cannot paste between 2 excel spreadsheets w/o office clipboard ope bluecali Excel Discussion (Misc queries) 1 May 11th 07 01:13 PM
Office Clipboard wllee Excel Discussion (Misc queries) 0 April 5th 05 04:31 PM
Clear and control the Office clipboard in Excel quartz[_2_] Excel Programming 0 February 22nd 05 08:33 PM


All times are GMT +1. The time now is 03:43 AM.

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"