View Single Post
  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom
 
Posts: n/a
Default how to set up default option for text paste

If you name the macro EditPaste (instead of PasteAsUnformatted) it
will override the built-in paste command. But note that this means
you'd have to use Paste Special whenever you actually want to preserve
the formatting (such as when you paste text between different parts of
a document).

--
Stefan Blom
Microsoft Word MVP


"PeterG" wrote in message
...
Thaks a lot for your help!
Could you please tell me - does it mean I have to choose my macro

from emnu
to paste text as unformatted or there any way to link this macro to

"OnPaste"
event (or something like this)?

"Stefan Blom" wrote:

You could use a macro such as the following:

Sub PasteAsUnformatted()
On Error Resume Next
Selection.PasteSpecial DataType:=wdPasteText
End Sub

For instructions, see http://www.gmayor.com/installing_macro.htm.

(The
article also has information on how to add the macro to a

toolbar.)

--
Stefan Blom
Microsoft Word MVP


"PeterG" wrote in message
...
When I paste text to MS Word from Word or any other application

it
uses by
defualt style from the source document. I have to use Paste

button
and select
"Keep Text Only" option to have pasted text formatted as current

paragraph.
In most cases I need to have pasted text formatted as current

paragraph. Is
there any place where I can speccify default Paste style as

"Keep
Text Only"?
Thanks a lot!