PowerPoint.Advanced.Presentation.Techniques [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

PowerPoint.Advanced.Presentation.Techniques [Electronic resources] - نسخه متنی

Faithe Wempen

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
توضیحات
افزودن یادداشت جدید










next section, but that's not very convenient. The alternative takes more time to set up but is easier in the long run-assigning the macro to a toolbar button or menu command.



Playing a Macro From the Macro Dialog Box



To play a macro from the Macro dialog box, choose Tools⇨Macro ⇨Macros, or press Alt+F8 to open the macro dialog box.


If the macro is not in the active presentation, open the Macro In drop-down list and choose All Open presentations. Then select the macro name and click Run (see Figure 19-3).




Figure 19-3: Run macros from the Macro dialog box.


If you're thinking "that's too much work," see the following section for a way of making a macro easier to run.






Tip


To play a macro from the Macro dialog box, the presentation or template in which you create it must be open. However, you can use a macro toolbar button regardless of which presentation is open. Therefore, it's a good idea to create a special Macros toolbar (see Chapter 18) and place buttons for all your macros on it. That way, all macros are available in all presentations.






Assigning a Toolbar Button to a Macro



In Chapter 18 you learned how to modify toolbars by adding buttons for common commands. You can also add buttons for macros. Follow these steps:





Choose Tools⇨ Customize. The Customize dialog box opens.





On the Commands tab, scroll down and select Macros from the left side. A list of all the macros in the active presentation appears at the right (see Figure 19-4).





Drag the macro from the dialog box to a toolbar. (Create a new toolbar first if you want, as discussed in Chapter 18.)





(Optional) To change the button name, right-click it and type a new name in the Name box. You can also do any of the other things to the button that you learned about in Chapter 18.





When you have finished creating the button and setting its properties, click Close in the dialog box to return to normal operation.






Tip


You can also create ActiveX controls in PowerPoint 2003 and then write macros using Visual Basic for Applications for those controls. For example, you might add an ActiveX command button to a slide and then write a script defining what will happen when the user clicks that button. To place ActiveX controls on slides, view the Control Toolbox toolbar (choose View⇨Toolbars⇨Control Toolbox) and use the tools there to place the controls. Then, right-click a control and choose View Code to edit the code behind it.








Figure 19-4: You can place macros on toolbars the same way as other commands.



Creating a Menu of Macros



You might decide to create a menu for your macros rather than a toolbar. This menu can be added either to an existing toolbar, or to a new toolbar you create, or to the existing menu bar. I won't get into the specifics here because Chapter 18 covered it pretty thoroughly. Go back to Chapter 18 and create a new toolbar if needed, and then add a New Menu item to it from the Commands tab of the Customize dialog box. Then, add your macros to that new menu. Figure 19-5 shows an example.




Figure 19-5: You can create a menu for easy access to macros, if desired.


/ 231