ObjType Cell (Miscellaneous Section)

Determines whether objects are placeable or routable in diagrams when you use the Configure Layout dialog box to lay out shapes.

Value Description Automation constant
Default. The application decides based on the drawing context.
Shape is placeable.
Shape is routable. Must be a one-dimensional (1-D) shape.
Shape is not placeable, not routable.
Group contains placeable/routable shapes.


By default, the ObjType cell is set to No Formula for a shape, which evaluates to 0, meaning that the application determines whether the shape can be placeable depending on its context. For example, if you draw a simple rectangle, the value of its ObjType cell is 0. If you then use the Connector tool to connect the rectangle to another shape, Visio resets the value of the rectangle's ObjType cell to 1 (placeable).

The value of the ObjType cell can be a combination of values. If the non-placeable bit is set (&H4), however, it takes precedence over other values except the group value (&H8).

To get a reference to the ObjType cell by name from another formula, or from a program using the CellsU property, use:

Cell name:

To get a reference to the ObjType cell by index from a program, use the CellsSRC property with the following arguments:

Section index:
Row index:
Cell index: