Set a Fixed Size and Character Limit for Word Content Controls
Question details
The user wants Word form fields to maintain a fixed layout and restrict the number of characters entered.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Creating a Word form with content controls for names or other short entries.
- Observed behavior
- Rich Text Content Controls do not directly enforce a character limit or prevent users from changing their layout.
Enable the Developer tab in Word if it is not visible: open File > Options > Customize Ribbon and select Developer. Decide whether you need a fixed layout, a strict character limit, or both.
Use a Fixed Table Layout for Word Content Controls
Use a borderless table to keep form controls aligned and preserve the intended cell dimensions.
Select Insert > Table and create cells for the labels and form entries.
Right-click the table and select Table Properties. On the Row tab, select Specify height, enter a value, and set Row height is to Exactly.
In Table Properties, open the Column tab, select Preferred width, and enter the width you want. Then select the table and choose Table Layout > AutoFit > Fixed Column Width.
Click an entry cell and select Developer > Plain Text Content Control for a short entry, such as a name. Use a Rich Text Content Control only if formatting within the entry is needed.
Select the table, then choose Table Design > Borders > No Border.

Set a Character Limit with a Legacy Text Form Field
Use a legacy form field instead of a content control when a built-in maximum length is essential.
Warn Users About Long Content Control Entries with VBA
Use a document event to warn users after they leave a tagged content control with too many characters.
Edit Word-Compatible Forms with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for editing Word-compatible documents. Open existing files and continue working in a familiar layout, though WPS does not fix Word-specific content control or VBA behavior.

Frequently Asked Questions
Can I set a maximum length directly on a Word content control?
Plain Text and Rich Text Content Controls do not have a built-in maximum character setting. Use a legacy Text Form Field for a built-in limit, or add VBA to check the entry.
How do I stop a Word table from expanding as someone types?
Select the table and choose Table Layout > AutoFit > Fixed Column Width. In Table Properties > Row, set a specified height to Exactly. Text that exceeds the available space may be hidden.
Which content control is best for a person's name?
A Plain Text Content Control is generally suitable for a short name because rich formatting is usually unnecessary. Insert it from Developer > Plain Text Content Control.
Will the VBA warning work if macros are disabled?
No. The Document_ContentControlOnExit event runs only when macros are enabled. Save the document as a .docm file and enable macros only for a trusted document.




