#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 159
Default office clipboard

Is there a way to clear the office clipboard using VBA. I am making some
large copies in a macro and it eventually freezes my system.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default office clipboard

Larry

Application.CutCopyMode = False

clears the clipboard.

Plunk it into your macro after your paste code.


Gord Dibben MS Excel MVP

On Thu, 15 Mar 2007 11:03:18 -0700, Larry
wrote:

Is there a way to clear the office clipboard using VBA. I am making some
large copies in a macro and it eventually freezes my system.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 159
Default office clipboard

Thanks for your reply. I have tried that and it isn't clearing the
clipboard. Could I have sometning in the setup that prevents this.

"Gord Dibben" wrote:

Larry

Application.CutCopyMode = False

clears the clipboard.

Plunk it into your macro after your paste code.


Gord Dibben MS Excel MVP

On Thu, 15 Mar 2007 11:03:18 -0700, Larry
wrote:

Is there a way to clear the office clipboard using VBA. I am making some
large copies in a macro and it eventually freezes my system.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default office clipboard

Larry

If you're still there, try this......

Sub ClearClipboard()
OpenClipboard 0&
EmptyClipboard
CloseClipboard
End Sub


Gord

On Thu, 15 Mar 2007 18:09:00 -0700, Larry
wrote:

Thanks for your reply. I have tried that and it isn't clearing the
clipboard. Could I have sometning in the setup that prevents this.

"Gord Dibben" wrote:

Larry

Application.CutCopyMode = False

clears the clipboard.

Plunk it into your macro after your paste code.


Gord Dibben MS Excel MVP

On Thu, 15 Mar 2007 11:03:18 -0700, Larry
wrote:

Is there a way to clear the office clipboard using VBA. I am making some
large copies in a macro and it eventually freezes my system.




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
I can't paste from the office clipboard noofsquidis8 Excel Discussion (Misc queries) 7 June 25th 08 07:28 PM
Office Clipboard hdfixitup Excel Discussion (Misc queries) 0 June 6th 06 04:14 AM
Office 2000 clipboard Brealjs Excel Discussion (Misc queries) 1 March 19th 06 11:23 PM
Office Clipboard wllee Excel Discussion (Misc queries) 0 April 5th 05 04:31 PM
Is there a way keep the office clipboard from returning? droach61 Setting up and Configuration of Excel 1 February 23rd 05 06:21 PM


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