image: word screenshot
Banishing the paste option buttons in Word
R E L A T E D   C O N T E N T
ADVERTISEMENT

Hands on: Cut and paste in Word

Discover how to paste text without the formatting; plus shape-shifting on text boxes

Tim Nott, Personal Computer World 21 Nov 2006
ADVERTISEMENT

One of my pet annoyances in Word is that pasting text automatically defaults to preserving its source formatting. This isn’t so bad if you are copying within a document, or between your own documents which use the same styles, but it becomes an irritation when you are pasting text from an email or stealing chunks of text from a web page for your school homework.

If you use Word XP or 2003, then you have the Paste Options button that pops up next to pasted text. Click on this, and you will have options to Keep Source Formatting (the default), Match Destination Formatting or Keep Text Only. This is for normal text – you may be offered other options within numbered lists.

There’s a subtle difference between the last two options. In general, when pasting from and to a Word document, Match Destination Formatting will cause the pasted text to assume the paragraph style of the surrounding paragraph, but keep any character formatting, such as bold or italic. Keep Text Only strips all character formatting, as well as hyperlinks.

In general, copying and pasting within the same document is painless, but there are a few things to watch. If you copy a paragraph marker with the preceding text, then you will copy the paragraph formatting. By default, Word does this automatically.

If you turn on paragraph marks from Tools, Options, you’ll see that as you select a paragraph the selection jumps to capture the paragraph mark – if you turn the option off (Tools, Options, Edit – Use Smart Paragraph Selection) then you have to select the paragraph mark deliberately.

However, our experiments found that if you paste a paragraph (with its mark) into another paragraph, a new paragraph isn’t created and the destination formatting is retained. Similarly, if you copy a section break, the pasted result will assume formatting, such as page layout, from the source.

Pasting from an external source – particularly HTML – brings a range of new challenges. Usually, but not always, the pasted text will assume the font of the surrounding text, but retain things such as emphasis, indents and spacing.

If you paste several headings and paragraphs, you’ll (sometimes) get a fourth option in the Paste Options button, ‘Use Destination Styles’. By choosing this Word will try to assign styles existing in the document or template to the pasted text.

Many people find the Paste Options button distracting and awkward to use. Although it stays in place until you start typing again, so that you can try different options to see how they look, you may already know exactly what you want. You can turn the button off from Tools, Options, Edit.

Note that this affects other Office applications, so you won’t get it in Outlook or Excel, where it may be more useful.

Whether the button is on or not, you can still use the Paste Special command to choose how you want text pasted: and if you are running Word 2000 or earlier this is the only way. However, it’s tiresome to go to Edit, Paste Special to make your choice. To paste ‘As plain text’ directly, you need to create a macro. You can do this by recording the actions of Edit, Paste Special, Unformatted Text or for simpler, cleaner code use this:

Sub Pastetext()
Selection.PasteSpecialDataType:=wdPasteText
End Sub

You can assign the macro to a toolbar button or, more usefully, the right-click menu. For the latter, go to Tools, Customize and turn to the Toolbars Tab. Tick ‘Shortcut Menus’ and a block of three menus – Text, Table and Draw. Open the Text menu then the Text item. This will produce the standard text right-click menu, which will remain open when you take the mouse off it.

Now go to the Commands tab in the customise dialogue, and select Macros from the left-hand list. From the right-hand pane drag your macro onto a suitable po sition on the open menu. Once in position you’ll find it has a less-than-friendly name, such as Normal.NewMacros.Pastetext. Right-click on it and you’ll be able to rename it to something snappier.


All Software Applications
Tags: Word Processing

Like this story? Spread the news by clicking below:

Post this to Delicious del.icio.us    Post this to Digg Digg this    Post this to reddit reddit!

Permalink for this story
R E A D E R   C O M M E N T S
M A R K E T P L A C E
Get your free demo of Numara Track-It! 8 - the leading help desk solution for IT related issues.
Make presentations, review documents & share your entire desktop. 30-day free trial! (cc required).
Discover how remote support can fuel your IT business in ways you've never thought of before.
Apply ITIL best practices at your service desk while eliminating integration cost. Learn more here.
WAN based, automated, daily vulnerability assessments. Click here to try and request our whitepapers.
Have your product or service listed here >   
Sponsored links
F E A T U R E D   J O B S
Welwyn Garden City, Hertfordshire, United Kingdom | Tesco.com
CMS Engineer - Welwyn Garden CityWho's behind the world's most successful online retailer? Just over 10 years ago we started Tesco.com (aka Dotcom). Today, we've an incredible 750,000 active customers and sales at just under ... more >
United Kingdom | Advent Computer Training
Are you stuck in a dead end job? Do you want to take control of your salary, life and career? Advent IT and computer training offers advanced, professional training and helps you find the right ... more >
United Kingdom | Advent Computer Training
Are you stuck in a dead end job? Do you want to take control of your salary, life and career? Advent IT and computer training offers advanced, professional training and helps you find the right ... more >
Durham, United Kingdom | Durham University
Durham University Shaped by the past, creating the future Ocean-Bottom Instrumentation Consortium Software Developer £25,888 - £33,780 per annum Applications are invited for a software developer to join the Ocean-Bottom Instrumentation Consortium (http://www.obs.ac.uk/), who provide ... more >
More job opportunities