讓巨集或附加元件與圖形的按兩下行為產生關聯Associate Macros or Add-ons with the Double-Click Behavior of Shapes

  1. 選取您想要與巨集或附加元件產生關聯的圖形。Select the shape with which you want to associate the macro or add-on.

  2. 在 [開發人員] 索引標籤上,按一下 [行為]。On the Developer tab, click Behavior.

  3. 在 [行為] 對話方塊中,按一下 [按兩下],然後按一下 [執行宏]。In the Behavior dialog box, click Double-Click, and then click Run macro.

  4. [執行巨集] 清單中選取您想要執行的巨集或附加元件。From the Run macro list, select the macro or add-on you want to run.

  5. 按一下 [確定]。Click OK.

  6. 按兩下此圖形,即可執行此巨集或附加元件。Double-click the shape to run the macro or add-on.

支援和意見反應Support and feedback

有關於 Office VBA 或這份文件的問題或意見反應嗎?Have questions or feedback about Office VBA or this documentation? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.