3 Methods to Apply Same Style to All Text Boxes in Your Word Document

In this article, we will show you 3 methods to apply same style to all text boxes in your Word document.

Have it ever occurred to you that how can you unite the style of all text boxes in a document? Here today, we will offer you 3 ways to do so without manually set style for each text box.Apply Same Style to All Text Boxes

Method 1: Save a Text Box to Gallery

You can unite the style of text boxes by starting dealing with the first one.

  1. First of all, insert a text box into document.
  2. Next apply style for the box. For example, set the shape outline, shape fill, font color, etc.
  3. Then click on the outline of text box to select it.
  4. Click “Insert” tab and click “Text Box”.
  5. Now choose “Save Selection to Text Box Gallery”.Select Text Box->Click "Insert"->Click "Text Box"->Choose "Save Selection to Text Box Gallery"
  6. You will have the “Create New Building Block” dialog box open. Enter the name in the first text box.
  7. Then click the drop-down button on “Category”.
  8. In “Create New Category” box, input the new category name.
  9. Lastly, click “OK” in both boxes.Enter Name ->Create a New Category->Click "OK"

The next time you need a text box, just go to click “Insert” and “Text Box”. Then scroll down to select your customized text box.Choose Your Customized Text Box from the Gallery

Method 2: Apply Style to All Text Boxes on One Page

This method works best when the document is of a few pages, and there are not so many text boxes to handle.

  1. First of all, click on one text box to trigger the “Format” tab.
  2. Then click “Selection Pane” in “Arrange” group.
  3. In the window open on the right side, use “Ctrl” to select all text boxes on a specific page.Click "Format"->Click "Selection Pane"->Select All Text Boxes on One Page
  4. Now you can set the same style to all text boxes selected. Repeat above steps if you have multiple text boxes on different pages.

Method 3: Run Word Macro

In case you need to handle all existing text boxes in a document, you’d better choose the macro way to help save time.

  1. First and foremost, press “Alt+ F11” to open VBA editor in Word.
  2. Then click “Normal” and then “Insert”.
  3. Next choose “Module” on the drop-down menu.Click "Normal"->Click "Insert"->Click "Module"
  4. Double click the module to open it and paste the following codes:
Sub SetTextBoxStyle()
  Dim objTextBox As Shape
  Dim objDoc As Document
  Application.ScreenUpdating = False
  Set objDoc = ActiveDocument
  For Each objTextBox In objDoc.Shapes
    ' Set line style.
    With objTextBox.Line
      .Visible = msoTrue
      .foreColor.RGB = RGB(0, 0, 0)
    End With
    ' Set fill color.
    objTextBox.Fill.foreColor.RGB = RGB(198, 217, 241)
    ' Set text color.
    objTextBox.TextFrame.TextRange.Font.TextColor.RGB = RGB(0, 0, 0)
    ' Set text size.
    objTextBox.TextFrame.TextRange.Font.Size = 12
    ' Set font face.
    objTextBox.TextFrame.TextRange.Font.Name = "Calibri"
    ' Align text.
    objTextBox.TextFrame.TextRange.ParagraphFormat.Alignment = wdAlignParagraphJustify
  Next objTextBox
  Application.ScreenUpdating = True
End Sub
  1. Last but not the least, click “Run” or hit “F5” to execute codes.Paste Codes->Click "Run"

Certainly, you can alter the codes to meet your particular needs.

Cope with Word Errors

Errors can occur anytime. They are not unfixable. It is the way you handle it that matters most. Once you notice a doc damage, you should obtain a repairing tool as soon as possible. Or some further damages can happen to your file, and you will risk losing it forever.

Author Introduction:

Vera Chen is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including xlsx repair and pdf repair software products. For more information visit www.datanumen.com

24 responses to “3 Methods to Apply Same Style to All Text Boxes in Your Word Document”

  1. We wish to thank you yet again for the gorgeous ideas you offered Janet when preparing her post-graduate research in addition to, most importantly,
    for providing the many ideas in a single blog post.
    Provided we had been aware of your web-site a year ago, we would have
    been kept from the nonessential measures we were
    employing. Thank you very much. toys for adults

  2. We would like to thank you yet again for the lovely ideas you offered Jeremy when preparing a post-graduate research and, most importantly, pertaining to providing all the
    ideas within a blog post. Provided that we had
    known of your site a year ago, we’d have been saved the pointless measures we were
    implementing. Thank you very much. sex shop

Leave a Reply

Your email address will not be published. Required fields are marked *