The following one line procedure will clear the clipboard:
---
Sub ClearClipboard()
CommandBars.FindControl(Id:=3634).Execute
End Sub
---
- Chirag
http://officerone.tripod.com/
Quote:
> I would like VBA to clear the clipboard (in OFF2K) after
> it commits a paste with formatting. Lines one and three
> make sense to me, but I do not know how to tell the
> clipdoard toolbar to clear the clipboard of all items
> (line two).
> 1) CommandBars("Clipboard").Visible = True
> 2) CommandBars("Clipboard").
> 3) CommandBars("Clipboard").Visible = False
> Any advice!?!?
> TIA
> Sean Hanson