Office Settings & Configuration

Fix a Macro Shortcut for Grouping Objects in Word 2016

Elise WilliamsElise Williams Nov 20, 2026 868 views

Question details

The user needs a working Word 2016 keyboard shortcut for a macro that groups selected objects.

Fix a Macro Shortcut for Grouping Objects in Word 2016
Product
Microsoft Word 2016
Device & OS
Windows 7
Scenario
The user records a macro for selecting and grouping objects and tries to assign it a keyboard shortcut.
Observed behavior
Pressing Ctrl or Alt alone does not display a shortcut, and the recorded macro may not contain useful code for the object actions.
Before you start

Select the shapes you want to group and check that they are floating objects rather than inline objects. Decide whether the macro should be available only in the current document or in a template such as Normal.dotm.

Solution 1Recommended

Assign a Complete Keyboard Shortcut to the Macro

Use Word's keyboard customization settings to assign the macro and check where the shortcut is saved.

1
Open keyboard settings

In Word 2016, select File > Options > Customize Ribbon, then click Customize next to Keyboard shortcuts.

2
Choose the macro

Under Categories, select Macros, then select your macro from the list.

3
Enter a key combination

Click Press new shortcut key and press a complete combination, such as Ctrl+Alt+G. Ctrl or Alt alone is a modifier, not a complete shortcut. Check the current assignment before replacing an existing shortcut.

4
Save and assign

In Save changes in, select the document or template where the shortcut should be available, then click Assign and Close. Confirm that the macro itself is stored in an available document or template.

5
Test the shortcut

Return to the document, select the shapes, and press the assigned key combination. If nothing happens, inspect the macro code using View > Macros > View Macros.

Assign a Complete Keyboard Shortcut to the Macro
A shortcut cannot fix an empty recording: Word's macro recorder may not capture selecting or grouping objects. If the macro contains no useful grouping code, edit it as described below.
Free Microsoft Office alternative

Edit and Arrange Document Objects with WPS Writer

WPS Office is a free, lightweight alternative with a familiar interface for editing documents and arranging objects. Its Microsoft Office format compatibility makes it easier to move existing files into WPS, though it does not repair Word's macro shortcuts.

Arrange and group supported objects in documentsOpen and edit Microsoft Word DOC and DOCX filesWork in a familiar, easy-to-use interfaceMove existing Office documents into a lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does pressing Ctrl or Alt not fill in the shortcut field?

Ctrl and Alt are modifier keys. In the Press new shortcut key field, press a complete combination such as Ctrl+Alt+G, then click Assign.

Why does my recorded macro not group the shapes?

Word's macro recorder cannot capture many object-selection and grouping actions. Open the macro through View > Macros > View Macros and inspect its code; you may need to write the grouping action in VBA.

Where should I save a macro shortcut so it is available in other documents?

In File > Options > Customize Ribbon > Customize, choose an available template such as Normal.dotm under Save changes in. Also ensure the macro is stored in a template available to those documents.

Why is the Group command unavailable?

Select at least two groupable floating objects. Inline objects cannot be grouped in the same way; change their text wrapping if appropriate, then select them again and try Group > Group.

How can I run the macro without its keyboard shortcut?

Select the shapes, open View > Macros > View Macros, select the macro, and click Run. Word's macro security settings must permit the macro to run.