YasserKhalil
Well-known Member
- Joined
- Jun 24, 2010
- Messages
- 852
[FONT="]Hello everyone[/FONT]
[FONT="]I have searched a lot and tried a lot of codes for clearing the clipboard and this is one of them
[/FONT][FONT="]But nothing works for me till now[/FONT]
[FONT="]Any idea?
I have posted this thread at this link
[/FONT]http://www.eileenslounge.com/viewtopic.php?f=30&t=31849
But I didn't find a solution till now
I am using Office 2016 32 Bit
[FONT="]I have searched a lot and tried a lot of codes for clearing the clipboard and this is one of them
Code:
[/FONT][/COLOR][COLOR=#2E8B57][FONT=Monaco]Public Declare Function OpenClipboard Lib "user32" (ByVal hwnd As Long) As Long[/FONT][/COLOR]
[COLOR=#2E8B57][FONT=Monaco]Public Declare Function EmptyClipboard Lib "user32" () As Long[/FONT][/COLOR]
[COLOR=#2E8B57][FONT=Monaco]Public Declare Function CloseClipboard Lib "user32" () As Long[/FONT][/COLOR]
[COLOR=#2E8B57][FONT=Monaco]Public Function ClearClipboard()[/FONT][/COLOR]
[COLOR=#2E8B57][FONT=Monaco] OpenClipboard (0&)[/FONT][/COLOR]
[COLOR=#2E8B57][FONT=Monaco] EmptyClipboard[/FONT][/COLOR]
[COLOR=#2E8B57][FONT=Monaco] CloseClipboard[/FONT][/COLOR]
[COLOR=#2E8B57][FONT=Monaco]End Function[/FONT][/COLOR]
[COLOR=#2E8B57][FONT=Monaco]Sub Test()[/FONT][/COLOR]
[COLOR=#2E8B57][FONT=Monaco] Call ClearClipboard[/FONT][/COLOR]
[COLOR=#2E8B57][FONT=Monaco]End Sub[/FONT][/COLOR][COLOR=#333333][FONT="]
[/FONT][FONT="]But nothing works for me till now[/FONT]
[FONT="]Any idea?
I have posted this thread at this link
[/FONT]http://www.eileenslounge.com/viewtopic.php?f=30&t=31849
But I didn't find a solution till now
I am using Office 2016 32 Bit