Associate a macro or add-on with the double-click behavior of a shape

Microsoft Visio Developer Reference

Associate a macro or add-on with the double-click behavior of a shape

  1. Select the shape with which you want to associate the macro or add-on.
  1. On the Format menu, click Behavior.
  1. In the Behavior dialog box, click the Double-Click tab, and then click Run macro.
  1. From the Run macro list, select the macro or add-on you want to run.
  1. Click OK.
  1. Double-click the shape to run the macro or add-on.