• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Adding ActiveX Controls

For special situations, you might want to use an ActiveX control to carry out actions when your user selects an item on your form. You might use an ActiveX control, for example, to run a macro that automates a task. In order to use ActiveX controls, you should be comfortable with Microsoft Visual Basic for Applications (VBA) or Microsoft Script Editor. To add an ActiveX control to your form, follow these steps:

1.
Open the template to which you want to add the control.

2.
Click the Protect Form button on the Forms toolbar to unprotect the form.

3.
Place the insertion point where you want to add the control.

4.
Display the Control Toolbox toolbar by choosing View, Toolbars, Control Toolbox.

5.
Click the ActiveX control button on the Control Toolbox toolbar that you want in the document. Word creates the control and displays the Exit Design Mode toolbar, as shown in Figure 31-18.

Figure 31-18. When you add an ActiveX control to your form, Word changes to Design Mode.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint