Visio Guy

Visio Discussions => Visio 2016 Issues => Topic started by: trademark2 on January 22, 2020, 11:59:06 AM

Title: How to make a shape into a container
Post by: trademark2 on January 22, 2020, 11:59:06 AM
I have shapes that I like to use as containers, but I don't know how to specify to visio that these shapes are containers. I assume this property is somewhere in the shapesheet. I would rather not get into vba code for this unless someone has ready-made code to do something.


I find visios container options to be a bit bland and in some cases it is hard to control aspects such as the background color or bevel.
Title: Re: How to make a shape into a container
Post by: Paul Herber on January 22, 2020, 03:42:11 PM
Very simple, open the shape's shapesheet editor,
add section User-defined cells (it may already be there ... )
add row to this section
User.msvStructureType
and set it to
="Container"

Job done.