View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.word.vba.general
Doug Robbins - Word MVP[_3_] Doug Robbins - Word MVP[_3_] is offline
external usenet poster
 
Posts: 1
Default Get text from clipboard

See the article "Manipulating the clipboard using VBA" at:

http://www.word.mvps.org/FAQs/Macros...eClipboard.htm


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Rene Petersen" wrote in message
...
Can anyone help me on this one please.

I am creating a inputbox and I want the default text of the inputbox to be
the text I just copied.

Dim Search
Search = InputBox("Type your search", "Search", CLIPBOARDTEXTHERE)

Thanks,
Rene