Search code examples
vbavisio

How to change swimlane orientation in Visio BPMN diagram using VBA


Visio 2013 contains a stencil for the BPMN diagram type. This stencil has a "Pool / Lane" master. When you drop it on a drawing, a new lane appears. Then you can go to the "Cross-functional Flowchart" ribbon and change its orientation with the "Orientation" option button, which offers a selection of vertical and horizontal orientations. How can I do the same manipulation in VBA?

I've tried to record the respective macro in Visio macro recorder. Surprisingly, the recorded macro contains no code for this manipulation.


Solution

  • i open shapesheet window, and change vertical/horizontal orientation. i find cells which changed with orientation enter image description here