Word 2003 Macro to Paste Unformatted Text

It turns out that Microsoft Word 2003 canNOT correctly record a macro to paste unformatted text. Word’s macro recorder kept storing the command to paste text as-is (e.g., with web formatting). I didn’t know the command for an unformatted text. Fortunately, I found this blog entry that explains how to do this. You can see the incorrect macro command commented out in the Word macro below. The correct command to paste unformatted text is below it.

Sub PasteUnformated()

‘ PasteUnformated Macro
‘ Macro recorded 7/20/2008 by Todd Ogasawara

‘ Selection.PasteAndFormat (wdPasteDefault)
Selection.PasteSpecial DataType:=wdPasteText
End Sub

0 comments ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment