It’s very annoying if you have to copy text from website or other places to email or you document and get the text formatted like it is on the website. Yes there is option to paste text without formatting in the menu but to get there you have to open dialog and so on and so on.
This document shows you how to create a keyboard binding for ‘Paste text without formatting’ in Microsoft Word 2000 and above. I will just copy the information here.
First we need to create the macro:
To create the macro to cut and paste without formatting
- Start Word.
- On the Tools menu, point to Macro, and then click Macros to display the Macros dialog box.
- In the Macro name box, type PasteUnformattedText.
- Make sure that All active templates and documents is displayed in the Macros in list, and then click Create. The Microsoft Visual Basic® Editor is displayed.
Note If you need to learn about the Visual Basic Editor, see the Power User Corner column Managing Macros with the Visual Basic Editor.
- Directly above the End Sub statement in the PasteUnformattedText subroutine, type the following line of code:
- On the File menu, click Close and Return to Microsoft Word.
And now how to create the keyboard binding. Instead of Ctrl+V that is shown in the article, I will make my keyboard binding for the macro Ctrl+Shift+V.
To create the keyboard binding
- On the Tools menu, click Customize.
- Click the Keyboard button.
- Make sure the Save changes in box displays Normal.dot.
- In the Categories list, click Macros.
- In the Macros list, click PasteUnformattedText.
- Click in the Press new shortcut key box, press and hold the CTRL and Shift key, and then press and hold the V key at the same time. The Press new shortcut key box displays Ctrl+Shift+V.
- Click Assign. Click Close and then click Close again.
That’s it… now you can press Ctrl+Shift+V to paste text without formatting easily.