Copying Styles

Maria wonders about the best way to copy styles from one document to another.

Sounds like a simple question, right? Well, not really. You see, Word provides several ways that you can copy styles from one document to another. As to which of those methods is "best," it depends on which one you find to be the easiest. With that in mind, I want to take a look at those "several ways" that I mentioned.

Using Copy and Paste

If you only have a few styles to copy from one document to another, an easy way to do it is to use the editing tools with which you are already familiar. Just open your source and target documents and make sure both are visible on the screen at the same time. (You probably could figure this out, but the source document is the one from which you want to copy styles and the target document is the one to which you want to copy them.)

Now, select a paragraph in the source document to which you've already applied the style you want to copy. When you select the paragraph, make sure that you include the end-of-paragraph marker at the end of the paragraph. (This is essential.) Press Ctrl+C to copy the paragraph to the Clipboard.

Switch over to the target document and position the insertion point somewhere in the document where you won't mess up anything already in the document. (I often jump to the end of the document and press Enter a few times, then press the Up Arrow once or twice.) Now press Ctrl+V. The contents of the Clipboard—the paragraph you copied from the source document—are pasted into the target document. Word also pastes the style into the target document.

At this point you can delete the paragraph you just pasted (don't press Ctrl+Z—you actually need to delete the paragraph). Even though you delete it, the style remains in the document.

You should be aware that using copy and paste isn't a good approach if the styles you want to copy are the built-in styles in Word or if the style you want to copy already exists in the target document. In these cases, Word doesn't actually copy the style—the pasted text adopts the style already defined within the target document.

Using the Format Painter

Believe it or not, you can use the trusty old Format Painter (on the Home tab of the ribbon) to copy styles from one document to another. The basic idea is that you select something formatted with the desired style in your source document, click the Format Painter, switch to the target document, and finally click on the text you want to possess that style.

Problem is, this method has to be used carefully. You see, how it behaves depends on what formatting you are looking to paint.

If whatever you selected in the source document uses a style that is not in the target document, then the style associated with that source selection is copied to the target document. (Cool!)

If whatever you selected in the source document uses a style that is in the target document already, then the formatting of the source text is copied to whatever you select in the target document, but the style is not updated. In other words, the formatting is copied and "painted," but the style in the target remains unchanged. (Not cool!)

The bottom line is that you'll want to be quite careful using this method, or else you won't get the results you expect.

Saving As a Template

In Word, a template is a document, stored in a special format, that is used as a pattern for new documents. Templates most often contain styles and sometimes macros that you want to use in another document. If you want to use all of the styles from one document in another document, you could therefore use these general steps:

Make a copy of your source document. (You do this because you don't want to take the chance of messing up your original.)

Open the copy of the source document in Word. (You should have no other documents open at this time.)

Press Ctrl+A to select everything in the document.

Press the Delete key to remove everything you selected. (You don't need the text; you only care about the styles. The styles remain in the document even after you delete the text that may use those styles.)

Click on the Attach button. Word displays the Attach Template dialog box. (Although named differently, this is very much like a standard Open dialog box.)

Use the controls in the dialog box to locate and select the template you created earlier, in step 8.

Click on Open. The Attach Template dialog box disappears, and the name of the template you selected appears in the Document Template box.

Select the Automatically Update Document Styles check box to make sure that the styles in the template are applied to your document.

Click on OK.

At this point the target document is essentially using all of the same styles that were in your source document. Further, any styles that were in the source document but are not used in the target document are available for future use in the target document.

This approach may actually seem a bit extreme to some, but if you have a need to use styles from your source document with a lot of different target documents, it can be a great way to proceed. (If this is the case, you'll only need to repeat steps 9 through 16 for each of your target documents.)

Using the Organizer

Word provides a handy tool that you can use to copy styles or macros from one document to another. This tool, called the Organizer, has been around for a while and has morphed a few times as to what it will do. One thing that has remained constant through all versions of Word (so far, at least—you can never really tell with Microsoft what they will do) is its ability to manage styles.

There are a few ways you can display the Organizer. Here is one way:

Display the Home tab of the ribbon.

Click the small icon at the bottom-right of the Styles group. Word displays the Styles task pane at the right side of the window.

Click the Manage Styles button at the bottom of the task pane. (This is the third of the three buttons available. Hover the mouse pointer over the buttons and you can easily locate the Manage Styles button.) Word displays the Manage Styles dialog box.

The concept behind the Organizer is that you can open a document or a template on both the left and right side of the Organizer and then move styles between the two. When you first start the Organizer, you'll notice that on the left side of the dialog box is the document on which you were working when you started the Organizer and on the right side is a different document—it could be your Normal template or it could be another document you had open. (See Figure 2.)

Figure 2. The Styles tab of the Organizer.

You'll want to make sure that your source document or template (the one from which you want to copy styles) is open on the left and the target document or template (the one to which you want to copy styles is open on the right. If this is not the case, you can click the appropriate Close button and then click the Open button to locate and open the desired source or target. (When you click the Close button, it turns into an Open button.)

With your source document on the left and your target document on the right, locate the styles you want to copy from the source document and build a selection set of those styles. You do this by clicking the first style and then holding down the Ctrl key as you click on the other styles.

At this point the Copy button (between the left and right sides of the dialog box) should be "pointing" toward the right, which is where your target document is located. Click the button and the styles in your selection set will be copied to the target. You might be asked if you really want to copy some of the styles (for instance, any built-in styles you've selected), but the styles will be copied to the target.

When you are done copying all the styles you want to copy, you can close the Organizer.

Using a Macro

You could, if desired, also use a macro to copy styles from one document to another. This is a good approach when you have lots of styles to copy or you want to copy only styles where the style names match a specific pattern.

For instance, let's say that you have a bunch of styles you've created for use in your company. The name for each of these styles begins with the text "ABCorp," so that you have styles such as "ABCorp Body," "ABCorp Indent," etc. You could use a macro like the following to do the copying:

In order to run the macro, both the source and target must already be open. If you enter the names for each of the documents properly (remember to include the filename extension, such as "MyDoc.docx"), then the macro returns a count of how many styles were copied. Otherwise, it lets you know of any errors locating the source or target documents.

WordTips is your source for cost-effective Microsoft Word training.
(Microsoft Word is the most popular word processing software in the world.)
This tip (4628) applies to Microsoft Word 2007, 2010, 2013, and 2016.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. Learn more about Allen...

MORE FROM ALLEN

Suppressing Headers or Footers

Don't want a header or footer to appear on just a portion of your document? It's easy to do when you understand that ...

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (ribbon)

Ensuring that Spell Checking is Enabled in All Styles

Ever want to enable spell checking in all of the styles within a document, but don't want to check each and every one ...

Comments

If you would like to add an image to
your comment (not an avatar, but an image to help in making the point of your comment),
include the characters [{fig}] in your comment text. You’ll be prompted to upload
your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will
be reduced. Up to three images may be included in a comment. All images are subject to
review. Commenting privileges may be curtailed if inappropriate images are posted.

Source

(gif, jpeg or png only, 5MB maximum file size)

Source

(gif, jpeg or png only, 5MB maximum file size)

Source

(gif, jpeg or png only, 5MB maximum file size)

Notify me about new comments ONLY FOR THIS TIP

Notify me about new comments ANYWHERE ON THIS SITE

Hide my email address

What is 6 + 8?

2019-05-03 04:45:28

Zhanna Davydova

Dear Allen, I always use Organizer to copy styles from one template to another. This method looks very effective. But about a week ago I noticed that something wrong has happened - when I copied multilevel styles, numbering in a destination template failed. The problem is that failure takes place only on my PC. When I do the same on my laptop with the same templates everything goes fine. What could be the reason?

2018-01-31 23:14:41

Diego

Excellent Tip Sr. Allen WyattI have just discovered your page.

I also agree that Word is a very powerful tool. I am sorry that many people only use the basic tools of this software. I use the Macro to Copy Styles. I modified it a little bit to contextualize to my language. My language is Spanish

I am trying to protect styles using Restrain Edition but my VBA skill are still limited.----------------------Sub Proteger()Dim J As IntegerDim s As StyleDim texto as String

J = 0 For Each s In ActiveDocument With ActiveDocument ActiveDocument.Styles.Locked = True End With J = J + 1 Next s