Add an ActiveX control

Microsoft Office PowerPoint 2003

Show All Show All

Add an ActiveX control

  1. Open the presentation you want to add an ActiveX control to.
  2. On the View menu, point to Toolbars, and then click Control Toolbox.
  3. In the Control Toolbox, click the button for the control you want to add, and then click the location where you want the control to appear in your presentation.
  4. If you're adding a check box, text box, command button, option button, list box, combo box, toggle button, or label, enter the text you want to appear on the control.

    ShowHow?

    1. Right-click the control you added to your presentation.
    2. Point to the name of the object on the shortcut menu (for example, CheckBox Object).
    3. Click Edit, and then add the text you want to the control.
    4. When you're finished, press ESC.
  5. Do one of the following:

    ShowAdd macro code for a control to be used in PowerPoint

    Security vulnerabilities in external files or controls may extend to Web pages that use those items. For example, external style sheets (files with a .css extension), script files (files with a .js extension), custom ASP.NET controls, or other items, may pose a security risk. Be sure your style sheets, add-ins, themes, executables, scripts, controls, or other files come from trusted sources.

    1. Select the control, and then in the Control Toolbox, click View Code Button image.

    2. In Microsoft Visual Basic Editor, write your macro code.

    3. When you finish writing the macro, on the File menu, click Close and Return to Microsoft PowerPoint.

    Note  For information about writing macro code, see Microsoft Visual Basic Help.

    ShowAdd a Web script for a control to be used on a Web page

    Security vulnerabilities in external files or controls may extend to Web pages that use those items. For example, external style sheets (files with a .css extension), script files (files with a .js extension), custom ASP.NET controls, or other items, may pose a security risk. Be sure your style sheets, add-ins, themes, executables, scripts, controls, or other files come from trusted sources.

    1. On the Tools menu, point to Macro, and then click Microsoft Script Editor.

    2. In Microsoft Script Editor, write your script, using the control ID to handle events for the control.

    3. When you finish writing the script, on the File menu, click Exit to return to Microsoft PowerPoint.