Paste Unformatted Text with a Shortcut in Microsoft Word

paste unformatted text Paste Unformatted Text with a Shortcut in Microsoft WordMany times when you need to paste text from the web, an HTML document, or even other MS Word documents, you may want to just get the text without the formatting and styling that is carried with it. There are several ways to do that, but out of the box, Microsoft Word doesn’t give an easy way, that is with one keyboard shortcut, to do that. The easiest way available with Microsoft Word 2010 is to right click and then click the “A” icon (“Keep Text Only” icon). Now, this is easy but if you need to use that feature many times, it can get annoying and time waster.

The fastest way is to have a keyboard shortcut which does just that. What we are going to do is create a Word Macro and assign a shortcut to it. The following instructions were done using Microsoft Word 2010, but really this Word Macro can be used with almost all Word versions being used today.

Before we create the Macro, if the Developer tab is not visible, do the following to make it show up:

  1. From the menu, click “File” then select “Options”
  2. Select “Customize Ribbon”
  3. On the right side under “Customize the Ribbon” section, check the “Developer” checkbox.
  4. Then click the “OK” button.

Creating the Paste Unformatted Text Macro,

  1. Select the “Developer” tab
  2. Click the “Visual Basic” button.
  3. On the left, in the Project panel, click the plus sign next to “Normal” to expand
  4. Then click the plus sign next to “Modules”
  5. Double click “NewMacros”
  6. Copy and Paste the following code to the Code window in the Visual Basic editor. (put the mouse cursor at the end of the document before pasting to keep the previously created Macros)
    Sub PasteSpecial()
    Selection.PasteSpecial DataType:=wdPasteText
    End Sub
    
  7. Click the “save” button. Once you do that a new Macro has been saved with name “PasteSpecial”
  8. Close the Visual Basic window.

Assigning to the Macro a keyboard shortcut,

What we are going to do next is assign a keyboard shortcut to run the macro. We know that to paste text normally, we use ctrl + V keyboard shortcut, so it would be a good idea to assign our macro the alt + V to make it easy for us to remember and differentiate the normal paste from the special paste without formatting.

  1. From the menu, click “File” then select  the “Customize Ribbon” tab
  2. Look for the “Keyboard Shortcuts” label and click the “Customize” button
  3. In the “Categories” section, click anywhere inside it and then press the “M” key so that it gets you to the Macros category.
  4. At the right side and under “Macros” look for “PasteSpecial” and select it.
  5. Then under “Press new shortcut key” label, put you mouse cursor in the field.
  6. Press the keyboard combination alt + V (hold the alt key and then press the “V” key)
  7. Then click the “Assign” button.
  8. Then click the “Close” button to close the window, and then “Ok” for the “Word Options” window.

That’s it, now you have the keyboard shortcut alt + V to paste text without style or formatting.

subscribe now 150 Paste Unformatted Text with a Shortcut in Microsoft Word Want to get updates for new posts? Subscribe to my RSS feed and follow me on twitter :)

You can also get the ITfall blog updates by Email.


And don't forget to share this post and leave a comment ;)

share save 256 24 Paste Unformatted Text with a Shortcut in Microsoft Word
This entry was posted in General and tagged , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

5 Comments

  1. Posted March 22, 2011 at 5:41 PM | Permalink

    Thanks for the tip. This really helps.

    **begin rant**

    After decades of development we still need to resort to hacks and macros to do something as mind-numbingly simple as pasting unformatted text. The simple fact that we can create this macro with an existing application “code snippett” (or whatever you call wdPasteText) tells me that the functionality is there. How hard would it be to give it a stupid button on the Home tab and a keyboard shortcut? Seriously.

    And people ask me why I hate Microsoft. I think they sit in their caves and try to come up with new and more efficient ways for people to make crappy documents full of manually formatted text.

    **end rant**

  2. Elizabeth
    Posted June 8, 2011 at 7:09 PM | Permalink

    OH MY GOODNESSS!!!!! Thank you! Thank you! Thank you! Thank you!

    This will save me hours and hours…

    I agree with the rant above… I would bet money that Microsoft has NEVER even talked to an Admin Assistant when designing Word (or any of the Office Suite).

    But again! THANK YOU!!!!!

  3. Salim
    Posted September 21, 2011 at 4:12 PM | Permalink

    Amer,

    Thanks very helpful.

    Is there a way to code for removing any tabs, soft returns and paragraph breaks alongside unformatting the text copied/cut?

  4. Wolfram
    Posted January 5, 2012 at 2:24 PM | Permalink

    You should also mention Alt-H-V-T as a keyboard alternative. The key sequence may be different in other language versions — just watch out for the the boxed character popups after hitting the Alt-key.

  5. Charlie
    Posted March 20, 2012 at 3:13 PM | Permalink

    Nice – thanks

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.