How to Save Grouped Shapes in a Microsoft Visio Stencil
Question details
The user needs grouped shapes to remain a single draggable group after saving them to a Microsoft Visio stencil and reopening the stencil.

- Product
- Microsoft Visio
- Device & OS
- not provided
- Scenario
- The user is adding grouped shapes to a Visio stencil for reuse in new drawings.
- Observed behavior
- After saving and reopening the stencil, the grouped shapes appear as individual shapes instead of one draggable group.
Before modifying the stencil, open Visio and confirm that the shape group is fully selected and grouped in the source drawing, and note the current Visio product and version from File > Account.
Group the Shapes Before Adding Them to a New Visio Stencil
Use this method to save the stencil entry as one grouped shape instead of separate objects.
Visio stencils can reflect the grouping state that exists when you add a selection to the stencil. Group the shapes first so the master is stored as a single draggable group.
Open the Visio drawing, hold Ctrl and click each shape you want to include, then confirm that the selection bounding box covers all intended shapes.
Right-click the selection and choose Group > Group, or press Ctrl+G, so the selected shapes become one group.
In the Shapes window, click More Shapes > New Stencil, or open an existing custom stencil so the stencil is editable.
Drag the grouped shape from the drawing into the open stencil, then right-click the new stencil master and rename it if needed.
Right-click the stencil title bar and choose Save, then drag the new master into a new blank drawing to verify that it remains one draggable group.

Troubleshoot Visio Stencil Masters That Reopen as Separate Shapes
Use this if grouping before adding to a stencil does not resolve the problem.
Use WPS Office as a Free Microsoft Office Alternative While You Troubleshoot Visio Stencils
WPS Office is a free, lightweight Microsoft Office alternative that opens and edits Word, Excel, PowerPoint, and PDF files with high compatibility. Its familiar ribbon interface makes it easy to handle everyday document work while you resolve Microsoft Visio stencil issues separately.

Frequently Asked Questions
Why do my grouped shapes split when I add them to a Visio stencil?
Usually the selection was not grouped before being dragged to the stencil, or the stencil is read-only or in a legacy format. Group the shapes with Ctrl+G first, save the stencil, then drag the master into a new drawing to test it.
How do I create a new Visio stencil for a grouped shape?
Open the Shapes window, click More Shapes > New Stencil, drag the grouped shape into the stencil, right-click the stencil title bar and choose Save, then drag the master into a drawing to test it.
Which Visio file format should I use for a custom stencil?
Use the current .vssx stencil format or another format compatible with your Visio version. If the stencil title bar shows Read Only, save a copy and then add the grouped shape.
What should I include when reporting a Visio stencil grouping problem?
Include the exact steps, a screen recording, and the Visio product and version from File > Account. Also note whether the issue occurs in a new blank drawing and a new stencil.
Can WPS Office open or edit Microsoft Visio files?
No, WPS Office focuses on Word, Excel, PowerPoint, and PDF files, not Visio drawings. It is a free Microsoft Office alternative for document, spreadsheet, and presentation tasks, while Visio diagrams remain in Microsoft Visio.




