View Single Post
  #2   Report Post  
Graham Mayor
 
Posts: n/a
Default

Maybe you didn't program it as well as you thought? Try

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
Word MVP web site http://word.mvps.org




SeanWhit wrote:
In my old version of Word (2000) I programmed a small macro that did
"Paste Special - Unformatted Text" - I assigned this to a button and
used it whenever pasting text into a document from another source
(e.g. the Web). Now I have Word 2003 and this same macro doesn't
work. I can program it fine, but then when I run it, the text gets
pasted in with its own formatting.