J Justin Jan 11, 2010 #1 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?
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 Jan 11, 2010 #2 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 My web site www.gmayor.com <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
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 My web site www.gmayor.com <>>< ><<> ><<> <>>< ><<> <>>< <>><<>