you can use SendKeys
Range("A1").Copy
Application.SendKeys "^V"
Search = InputBox("Type your search", "Search")
--
天行健,君*以自強不息
地勢坤,君*以厚德載物
http://www.vba.com.tw/plog/
"Rene Petersen" wrote:
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