Enable this by going to Tools > Options > Advanced > Run in Developer Mode.
In the Shapes window, right click on the name of the Stencil. Edit Stencil. Right click and select Edit Master
Prompt a user to enter custom properties when the shape is dropped onto the page. You must be in Developer Mode to set this up. Edit Master Shape. Right click, select Properties. In the dialog, click the Define button. In the Define Custom Properties dialog, check the Ask on Drop box for each property to be entered.
Right click Shape. Select Format > Behaviour > Double-Click. Select Run Macro, and choose the one to run from the drop down list. Note: Only Subs with no parameters are shown in this list.
Visio Guy The Master!
Visio MicroSoft Visio homepage