Macro to Paste Unformatted Text in Word 2003

J

Justin

I created a macro in Word 2003 to paste unformatted text, but when I run it,
it pastes formatted text instead. How can I fix this?
 
G

Graham Mayor

Using the correct code might help ;)

Sub PasteUnfText()
On Error GoTo Oops
Selection.PasteSpecial DataType:=wdPasteText, _
Placement:=wdInLine
End
Oops:
Beep
End Sub

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


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

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