Microsoft Activex Control In

-->Microsoft Activex Control In

Typically, you use an ActiveX control when you want to include a user interface element on your form template that isn't available in InfoPath, such as a slider control that comes with Microsoft Windows. ActiveX Filtering. In Internet Explorer, select the Tools button, and then select Internet options. On the Security tab, select Custom level, and then under ActiveX controls and plug-ins, do one the following: Allow Automatic prompting for ActiveX. Select OK, and then select OK again.

Just as you can add ActiveX controls to custom dialog boxes, you can add controls directly to a document when you want to provide a sophisticated way for the user to interact directly with your macro, without the distraction of dialog boxes. Use the following procedure to add ActiveX controls to your document. For more specific information about using ActiveX controls in Word, see Using ActiveX controls on documents.

  1. To add a control to the drawing layer of a document, click the control on the Control Toolbox. To add a control to the text layer of a document, hold down the SHIFT key while you click a control on the Control Toolbox.

  2. Right-click a control in design mode and click Properties to display the Properties window.

  3. You can initialize controls in a procedure.

  4. All controls have a predefined set of events. For example, a command button has a Click event that occurs when the user clicks the command button. You can write event procedures that run when the events occur.

  5. Some properties can be set at run time.

Support and feedback

See full list on support.microsoft.com

Activex Control In Microsoft Edge

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.