Tuesday, September 6, 2011

Create a macro for an ActiveX control

Create a macro for an ActiveX control

1. On the View menu, point to Toolbars, and then click Control Toolbox.

2. Select the ActiveX control (ActiveX control: A control, such as a check box or button that offers options to users or runs macros or scripts that automate a task. You can write macros for the control in Microsoft Visual Basic for Applications or scripts in Microsoft Script Editor.) you want to create a macro (macro: An action or a set of actions that you can use to automate tasks. Macros are recorded in the Visual Basic for Applications programming language.) for, and then in the Control Toolbox, click View Code Button image.

3. In Microsoft Visual Basic Editor (Microsoft Visual Basic Editor: An environment in which you can edit macros that you've recorded and write new macros and Visual Basic for Applications programs.), write a new macro or change the existing macro.

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

For more info: http://office.microsoft.com/en-us/powerpoint-help/create-a-macro-for-an-activex-control-HP003089064.aspx

No comments:

Post a Comment