Hello Nick,
I'm glad you mentioned youu are trying to clear the Office Clipboard.
The API code I posted is for the Windows Clipboard.
Here is some information about the Office Clipboard...
In versions of Excel earlier than Excel 2000, you can copy and paste an
item anywhere within a worksheet until you perform an action that clears
the clipboard. The Office Clipboard retains information about pasted
items so that you can perform other tasks without clearing the
clipboard and then paste items as you need them. The Office Clipboard
does not replace the Windows Clipboard, which can only store a single
item.
The data stored in the Office Clipboard is stored in HTML format.
The contents of the Office Clipboard are deleted when the current
session ends. If you have one Office program running, the contents of
the Office Clipboard are deleted when you close that program. If you
have multiple Office programs running, the contents of the Office
Clipboard are deleted after you close the last Office program.
There is no Visual Basic for Applications object model for the Office
Clipboard, so there is no way to programmatically manipulate it. You
can easily clear all the clipboards that are stored in the Office
Clipboard. To clear the Office Clipboard, click Clear Clipboard on the
Clipboard toolbar.
Sincerely,
Leith Ross