how do I paste straight text by default

  • Thread starter Thread starter Chester Smith
  • Start date Start date
C

Chester Smith

I rarely want to keep the formatting of text that I copy
and paste. Does anyone know how to set the paste function
to default to straight text (no formatting)?
 
Hi Chester,

You can do this by assigning a Paste Special macro to a toolbar button of
your own choosing/design. FWIW, here's a suitable macro:

Sub PasteUnformattedText()
On Error Resume Next
DataType:=wdPasteText, Placement:=wdInLine
End Sub

To make it available for every document you create, you'd add this to your
normal.dot file via the visual basic editor (Alt-F11)
See Word's help files for info on attaching macros to buttons.


Cheers
 
Thank you, Thank you, Thank you!

You lead me in the right direction,,, I actually found
this to work better:

Sub PasteUnformattedText()
On Error Resume Next
Selection.Paste
End Sub
 
Back
Top