This is my first attempt to cause Visio to handle double-click on a shape.
I need to rotate the shape 36 degrees each time it's double-clicked.
Here's what I have right now:
- Enable developer tab in ribbon
- Select shape
- in developer tab, click "Show ShapeSheet"
- In ShapeSheet, enable "Events" box to show
- For "EventDblClick", enter the formula to handle double-clicks
Formula I'm trying:
=SETF(GetRef(Angle),MODULUS(GetVal(Angle)+36,360))
Result when I double-click:
"Shape protection, container, and/or layer properties prevent complete execution of this command."
However, I couldn't find any protection being applied to this shape. Ideas or suggestions? Pointers to existing solutions and walkthroughs welcome.
My goal: Create a specific shape which rotates by 36 degrees on each double-click, and export it as a stencil.