Jay
Wed Jan 09 08:14:27 PST 2008
Look at
http://www.word.mvps.org/FAQs/MacrosVBA/ManipulateClipboard.htm for
how to get the clipboard contents into a VBA string. (This works _only_ for
text, but it sounds like that's what you need.)
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ:
http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
tpmax wrote:
> Hi Helmut,
>
> Is there any way to do see what has been copied in Word using VBA? I'm
> trying to write a segment of code that references the contents of the
> clipboard for a specific match.
>
> Thanks!
>
> "Helmut Weber" wrote:
>
>> Hi,
>>
>> if you show the home menu, there is "clipboard"
>> at the bottom left hand side, though it doesn't show exactly
>> what was copied according to where it
>> was positioned on the page.
>> And I didn't find a way to enlarge the rather small images.
>> However, even in Vista Ultimate clipbrd.exe is still there.
>> Just start clipbrd.exe and have a look at the display options.
>>
>> --
>> Greetings from Bavaria, Germany
>> Helmut Weber, MVP WordVBA
>> "red.sys" & chr(64) & "t-online.de"
>> Word 2007, Vista Ultimate (english versions)