Hi Yehuda,
No direct method to clear the multiple clipboards in Office 2000 but you
could do the following to achieve the same effect. The error handling is
provided only as contingency while running under 97 where the 'clipboard'
does not exist.
' ----- Beginning Of Code -----
Sub ClearTheClipBoard()
Dim oClipClear As CommandBarButton
On Error Resume Next
Set oClipClear = Application.CommandBars("clipboard") _
.FindControl(Id:=3634)
If Not oClipClear Is Nothing Then
If oClipClear.Enabled Then oClipClear.Execute
End If
On Error GoTo 0
End Sub
' ----- End Of Code -----
--
Regards
Shyam Pillai
http://officetips.homepage.com
Please reply in newsgroup - No email replies .
...
Quote:
> How do I clear the office 2000 clipboard in VB? (clipboard.clear cannot
get
> all 12 clipboards