Paste Special Unformatted Text

T

Tonya Marshall

I've tried making a macro to Paste Special Unformatted Text but
the style pastes as HTML Preformatted, Courier New font instead of
Normal (Arial 11pt.)
Is there something I'm missing here?

Sub PasteSpecial()
Selection.PasteSpecial (wdPasteText)
End Sub
 
J

Jezebel

Selection.PasteSpecial DataType:=wdPasteText

If you don't provide the argument name, you have to worry about the argument
position. Most Word functions have the most common argument in position 1,
so the nameless approach works just as well; but not in this case. DataType
is argument #5.
 

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