Tuesday, October 13, 2009

Macro to paste unformatted text in word

This macro gives you the possibility to easily paste text into a word document without formatting.

  • Copy a bit of text
  • Choose the Developer tab
  • Record macro (save in the norma.dotm template)
  • Choose a smart keyboard combination, for example ctrl + shift + v
  • Paste the text somewhere in the document
  • Stop the macro
  • Edit the macro and replace the one line with
  • Selection.PasteSpecial Link:=False, DataType:=wdPasteText