Formatting Issues

How to Change Properties of Multiple Text Boxes at Once in Word

Steve KSteve K Nov 2, 2026 869 views

Question details

The user needs a method to apply a gray fill and prevent deletion for multiple text boxes simultaneously, without editing each object manually.

How to Change Properties of Multiple Text Boxes at Once in Word
Product
Word
Device & OS
not provided
Scenario
Trying to format a document containing multiple text objects for layout or forms, but selecting all objects and running a macro failed to apply the changes.
Observed behavior
Selecting all text boxes and attempting to use a macro did not successfully change their background fill or apply deletion protection.
Before you start

Determine exactly what type of text object is used in your document, as Word differentiates between standard inserted shapes (Text Boxes), Content Controls, and Legacy Form Fields, each requiring distinct formatting methods.

Solution 1Recommended

Replace Multiple Text Boxes with a Formatted Table

If text boxes are being used to structure a document layout or create forms, replacing them with a table is the most reliable way to apply global formatting and protection.

Using multiple floating text boxes often causes alignment issues and macro execution failures. Using a table allows you to apply cell shading instantly and utilize document protection seamlessly without relying on complex VBA scripts.

1
Insert a new table

Go to the 'Insert' tab and click 'Table' to create a grid that matches the layout of your current text boxes.

2
Apply global shading

Select the entire table or specific cells, go to the 'Table Design' or 'Table Tools' tab, click 'Shading', and choose your desired gray fill color.

3
Transfer content

Copy the text from your existing floating text boxes into the newly created table cells, then delete the old text boxes.

4
Protect the document

To prevent structural deletion, go to the 'Review' tab, select 'Restrict Editing', check 'Allow only this type of editing in the document', and select 'Filling in forms'.

Replace Multiple Text Boxes with a Formatted Table
Formatting Stability: Tables are significantly more stable than floating objects, ensuring your document retains its exact layout when shared or printed.
Efficient Document Formatting

Use WPS Writer to Format and Protect Document Layouts

WPS Office provides highly intuitive tools to manage document layouts, apply bulk formatting, and restrict editing. Fully compatible with Microsoft Word, WPS Writer makes it simple to replace tricky text boxes with stable, protected tables.

  1. 1. Open your document: Launch WPS Office and open your .docx file in WPS Writer.
  2. 2. Insert a stable table: Navigate to 'Insert' > 'Table' to build a structured layout that replaces your floating text boxes.
  3. 3. Format the table cells: Highlight the table cells, navigate to 'Table Tools', and use the 'Shading' option to apply a uniform gray background.
  4. 4. Lock the layout: Switch to the 'Review' tab and click 'Restrict Editing' to prevent users from deleting or altering the form structure.
Fully compatible with Microsoft Word .docx and .doc file formats.Intuitive Table tools for creating structured, professional document layouts.Easily select multiple floating objects using the dedicated Selection Pane.Advanced document protection features available completely for free.
microsoft office alternative - wps office

Frequently Asked Questions

Why didn't my macro work on all the text boxes in the document?

Macros often fail when a document contains a mixture of different object types, such as standard shapes, inline shapes, or content controls. A macro script must specifically target the correct object collection (e.g., ActiveDocument.Shapes vs ActiveDocument.InlineShapes) to apply changes globally.

How do I select multiple floating text boxes at once?

Go to the 'Home' tab, click on 'Select' (usually on the far right), and choose 'Select Objects'. You can then click and drag a selection box over the text boxes. Alternatively, hold down the 'Ctrl' key while clicking the border of each text box.

Can I group text boxes to format them simultaneously?

Yes. Once you select multiple text boxes using the 'Ctrl' key or 'Select Objects' tool, right-click the border of one text box and choose 'Group' > 'Group'. You can then apply a shape fill or outline to the entire grouped object at once.

How do I lock a specific text box so it cannot be deleted by other users?

If you are using Developer Content Controls, enable the 'Content control cannot be deleted' option in the Developer tab's Properties. For standard text boxes, you must apply document-level protection by going to 'Review' > 'Restrict Editing' and limiting modifications to specific areas.