Clipboard

M

MD

his there a code to clear-up all that is stored in the office clipboard and
windows clipboard other than application.cutcopymode = false

thanks
Michel
 
D

David McRitchie

Please don't repost the same question to another thread it makes
things difficult for everyone and wastes time. See J.E.'s answer
in http://google.com/groups?threadm=jemcgimpsey-1612CA.15141001022004@msnews.microsoft.com

Not knowing anything about Macs, I would assume his
solution provided an answer to you and explained to the rest of
us why you don't want the obvious answer, and JE supplied a
reason why you might want something different.

Thanks for posting the original question with the detail of
not wanting the obvious answer -- that certainly saved one
round of back and forth conversation, but the reason would
have been good to include -- we can only guess if JE guessed right.

Please continue in your original thread.
 
T

Tom Ogilvy

Public Declare Function OpenClipboard Lib "user32" ( _
ByVal hwnd AsLong) As Long
Public Declare Function CloseClipboard Lib "user32" () As Long
Public Declare Function EmptyClipboard Lib "user32" () As Long

Sub ClearClipboard()
OpenClipboard (0&)
EmptyClipboard
CloseClipboard
End Sub

Put declarations in a General module.
 
T

Tom Ogilvy

Public Declare Function OpenClipboard Lib "user32" ( _
ByVal hwnd AsLong) As Long
Public Declare Function CloseClipboard Lib "user32" () As Long
Public Declare Function EmptyClipboard Lib "user32" () As Long

Sub ClearClipboard()
OpenClipboard (0&)
EmptyClipboard
CloseClipboard
End Sub

Put declarations in a General module.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top