How to launch Word so that it displays the contents of the clipboa

S

sailor_123

If you type on the run command "winword c:\my_doc.doc" then Microsoft Word
will be launched and open the file my_doc.doc.

Is it possible to launch the Microsoft Word so that it displays the contents
of the clipboard?

sailor_123
 
D

Doug Robbins - Word MVP

You could use the switch to have it run a macro that contained the code
Selection.Paste

--
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
 
G

Graham Mayor

If you mean the office clipboard then the following should work in both Word
2003 and 2007

Save the following macro in the normal template

Sub AutoExec()
WordBasic.EditOfficeClipboard
End Sub


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top