Copying Styles

Written by Allen Wyatt (last updated March 23, 2024)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021


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. In the version of Word included with Microsoft 365 you can supposedly modify this behavior, but I've seen inconsistent results in attempting to change how the pasting takes place. The bottom line is that copy and paste still isn't the best approach with built-in styles or a style that already exists in 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:

  1. Make a copy of your source document. (You do this because you don't want to take the chance of messing up your original.)
  2. Open the copy of the source document in Word. (You should have no other documents open at this time.)
  3. Press Ctrl+A to select everything in the document.
  4. 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.)
  5. Press F12. Word displays the Save As dialog box.
  6. Using the Save As Type list, choose Word Template or Word Macro-Enabled Template, depending on whether your source file contains macros or not.
  7. In the File Name field, enter a name for your template. You'll probably want this to be different than the original name of your source document.
  8. Click the Save button. You've now created your template.
  9. Open the target document.
  10. Display the Developer tab of the ribbon.
  11. Click the Document Template tool, in the Templates group. Word displays the Templates and Add-ins dialog box. (See Figure 1.)
  12. Figure 1. The Templates and Add-ins dialog box.

  13. 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.)
  14. Use the controls in the dialog box to locate and select the template you created earlier, in step 8.
  15. Click on Open. The Attach Template dialog box disappears, and the name of the template you selected appears in the Document Template box.
  16. Select the Automatically Update Document Styles check box to make sure that the styles in the template are applied to your document.
  17. 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:

  1. Display the Home tab of the ribbon.
  2. 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.
  3. 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.
  4. Click the Import/Export button at the bottom-left of the dialog box.
  5. Here's another way to display the Organizer:

  6. Display the Developer tab of the ribbon.
  7. Click the Document Template tool, in the Templates group. Word displays the Templates and Add-ins dialog box.
  8. Click the Organizer button at the bottom-left of the 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:

Sub CopyStyles()
    Dim sSourceText As String
    Dim sTargetText As String
    Dim dSource As Document
    Dim dTarget As Document
    Dim d As Document
    Dim s As Style
    Dim sTemp As String
    Dim J As Integer

    sSourceText = InputBox("Source document?")
    sTargetText = InputBox("Target document?")

    For Each d In Documents
        If d.Name = sSourceText Then
            Set dSource = d
        ElseIf d.Name = sTargetText Then
            Set dTarget = d
        End If
    Next d

    sTemp = ""
    J = 0
    If dSource Is Nothing Then
        sTemp = "Source document doesn't exist. No action."
    End If
    If dTarget Is Nothing Then
        sTemp = "Target document doesn't exist. No action."
    End If
    If sTemp = "" Then
       On Error Resume Next
       For Each s In dSource.Styles
            If s.Type = wdStyleTypeParagraph And Left(s.NameLocal, 6) = "ABCorp" Then
                Application.OrganizerCopy Source:=dSource.FullName, _
                  Destination:=dTarget.FullName, Name:=s.NameLocal, _
                  Object:=wdOrganizerObjectStyles
                J = J + 1
            End If
        Next s
        sTemp = "Copied " & J & " styles to " & sTargetText
    End If
    MsgBox sTemp
End Sub

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.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

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, 2016, 2019, Word in Microsoft 365, and 2021.

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. ...

MORE FROM ALLEN

Saving Information in a Text File

The VBA programming language provide with Excel allows you to create and modify text files quite easily. Here's how to ...

Discover More

Always Opening a Workbook that is Editable

When you send a workbook to a coworker, it can be bothersome if that person has problems using what you created. There is ...

Discover More

Sharing Macros with Others

If you develop some handy macros that you use on your system, you may want to share those macros with others. This tip ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (ribbon)

One Change Affects Everything

Have you ever made one formatting change in your document, only to see that change applied to all the paragraphs in the ...

Discover More

Changing the Language for All Styles

Styles are very powerful, and can really help when it comes to formatting your documents. If you are working with ...

Discover More

Bold Turning On by Itself

Word always relies on styles to define how text appears in your document. If you don't understand how Word applies ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

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}] (all 7 characters, in the sequence shown) 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.

What is one less than 9?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.