logo
search
Office Settings & Configuration

How to Restore the Paragraph Option in a Word Table Context Menu

Maira MehtabMaira Mehtab Sep 28, 2026 870 views

Question details

The user needs to add the Paragraph formatting option back to the right-click context menu when selecting text inside a table.

Product
Microsoft Word
Device & OS
not provided
Scenario
Attempting to adjust paragraph settings by right-clicking highlighted text inside a table cell.
Observed behavior
The Paragraph command is completely missing from the right-click context menu, whereas it was available in previous versions or configurations.
Before you start

Before modifying your context menu settings via VBA, ensure the Developer tab is enabled in your ribbon by checking it under File > Options > Customize Ribbon, which allows you to access the macro editor.

Solution 1Recommended

Restore the Option Using a VBA Macro

Since context menus are dynamic and vary by cursor location, you can force the Paragraph command (Command ID 779) back into the 'Table Text' menu by running a short VBA macro.

In modern versions of Word, paragraph options are sometimes hidden in table cells by default. Customizing the context menu via a macro is the most effective way to permanently restore this functionality.

1
Open the VBA Editor

Open your Word document and press the 'Alt + F11' keys simultaneously on your keyboard to launch the Microsoft Visual Basic for Applications (VBA) editor.

2
Insert a New Module

In the top menu, click 'Insert' and select 'Module'. This will create a blank text window where you can write custom macros.

3
Paste the Macro Code

Copy and paste the following code exactly into the module window: Sub AddParaToTableText() On Error Resume Next CustomizationContext = NormalTemplate CommandBars("Table Text").FindControl(ID:=779).Delete CommandBars("Table Text").Controls.Add ID:=779 End Sub

4
Run the Macro

Click anywhere inside the pasted code and press 'F5' to run the macro, or click the green 'Run Sub' play button in the toolbar. The Paragraph option is now added back.

5
Save the Normal Template

Close the VBA editor. When you close Microsoft Word, you may receive a prompt asking if you want to save changes to the 'Normal' template. Click 'Save' or 'Yes' to ensure the context menu change remains permanent.

Macro Installation: Running this macro once is enough to modify the settings. You do not need to run it every time you open Word, provided the Normal template was saved successfully.
Free Microsoft Office alternative

Try WPS Office for a Hassle-Free Word Processing Experience

Tired of dealing with missing context menu options and complex VBA macros just to format text? WPS Office offers a free, lightweight alternative with a highly intuitive interface, ensuring that essential tools like Paragraph settings are always accessible right where you expect them.

  1. 1. Download and Install: Get the free WPS Office suite from the official website and install it on your device in minutes.
  2. 2. Open Your Document: Open your existing Word document using WPS Writer without losing any table formatting.
  3. 3. Right-Click for Instant Access: Highlight text inside any table and simply right-click. Choose 'Paragraph' directly from the menu to adjust spacing and alignment effortlessly.
Highly compatible with Microsoft Word (.docx, .doc) formats and complex tables.Logical and intuitive context menus that display Paragraph options by default inside tables.Free to use with a lightweight installation and fast performance.Familiar ribbon interface requiring zero learning curve for easy migration.
QA img-9

Frequently Asked Questions

Why did the Paragraph option disappear from my Word table context menu?

Context menu commands depend heavily on cursor location and the specific version of Microsoft Word you are using. In some updates, Microsoft streamlined the right-click menu inside tables, removing the Paragraph option by default and requiring manual macro customization to restore it.

Do I have to run the macro every time I open a document?

No. Once you run the macro and accept the prompt to save the Normal template upon exiting, the changes are stored permanently. The Paragraph option will appear in your Table Text menu for all future documents.

How do I safely test macro changes in Word?

It is highly recommended to create a backup copy of your Normal.dotm template file before running macros that alter application-wide settings. If the menu behaves unexpectedly, you can simply restore the backup file to revert to the default context menus.