Home |
Search |
Today's Posts |
#10
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Jos,
You can use Internet Explorer object: Sub PutInClipBoard() ClipBoardText = InputBox("Enter some text:" _ , "Test Clip Write / Read" _ , "Enter what you want on the clipboard here") With CreateObject("InternetExplorer.Application") ..Navigate "about:blank" ..document.ParentWindow.ClipboardData _ ..SetData "text", ClipBoardText ..Quit End With Cells(1, 1).Select ActiveSheet.Paste End Sub Regards, MP "Jos Vens" a écrit dans le message de ... Hi, I wonder if you can put some predefined text on the clipboard (not the contents of a cell - dashed line) but a text like you should copy in any program (and like you can copy a part of text in the formulabar of a whole line). I'd like to paste it back when I'm inputting in a cell when the user needs it (ctrl-v works then). thanks Jos Vens |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Clipboard empty but still get waring that clipboard is full | Excel Discussion (Misc queries) | |||
Pasting delimited text from clipboard directly into Excel Spreadsh | New Users to Excel | |||
Pasting from clipboard-how to control text-to-columns delimiting | Excel Discussion (Misc queries) | |||
How have text on clipboard reformatted as a cell would be put there? | Excel Programming | |||
Copying the text from a text box to the clipboard | Excel Programming |