Hi All,
does anybody have a piece of code to clear the windows 10 64 bit clipboard?
there are a few different posts around all primarily quoting
Public Declare Function OpenClipboard Lib "user32" (ByVal hwnd As Long) As Long
Public Declare Function EmptyClipboard Lib "user32" () As Long
Public Declare Function CloseClipboard Lib "user32" () As Long
Public Sub ClearClipboard()
OpenClipboard (0&)
EmptyClipboard
CloseClipboard
End Sub
But this code fails with 64 bit with the public declare statement.
As always, any help is most greatly appreciated.
Jeff.
Bookmarks