To enable the tab, click on File and then Options. On the left-hand side, click on Customize Ribbon and then check the Developer box in the right-hand list box. Click OK and click on the tab in the ribbon.
The section we are most interested in is Controls. The Controls section has about eight different controls that can be added to your Word document: To insert a control, just click on it and it will appear wherever your cursor was located.
In general, use ActiveX controls when you need more flexible design requirements than those provided by Form controls. As an example, let's say you are creating an order form and you need a field where a user can enter the name of the person making the order. How can we improve it? Open the Gallery menu and choose AutoText. Combo List - Edit.
In my example below, I created a table and added two plain-text boxes for first name and last name. By default, each control has its own filler text. For a plain text control, it is Click or tap here to enter text.
You can edit this text for any control by clicking on the Design Mode button that is to the right of the control icons. Click on the Design Mode button again to exit the mode.
Next, click on your newly added control so that it is highlighted and then click on Properties , which is directly below the Design Mode button. Each control will have a standard set of options with custom options at the bottom based on what type of control it is. Here you can give the control a title, change the color, style the text and specify whether or not the control can be edited or deleted.
At the very bottom are the control specific options, which for the case of a plain text control, is whether you want to allow multiple lines or not. That last option is useful if you need someone to type in a paragraph of text.
You would think the plain-text control would not allow bold, font changes or color changes, but it does. Next, I went ahead and added a drop down list control to my form.
In order to add items to the list, you have to click on Properties. Click the Add button and then type in a name for your choice. By default, the Display Name and Value will be the same, but you can change it if you like.
Editorial Reviews. About the Author. I have about 12years of experience in IT ( information How To Create Word Forms With ActiveX Controls (How To Create Forms In Word & Excel ) - Kindle edition by Gerald Robinson. Download it. Word for Office , Word , Word , Word , Word You can create a form in Microsoft Word by starting with a blank document or template and adding content controls, including check boxes, text boxes, date pickers, and . Select the Legacy Form control or Active X Control that you want to include.
There really is no reason to change the value unless you are writing Word macros and refer to the controls in code. The only difference between the dropdown list control and the combo box control is that the latter allows the user to enter their own value if they please.
In the dropdown list, you have to choose from one of choices in the list. In the combo box, you can either choose from the list or type in your own value. To add a control to the drawing layer, click the control on the Control Toolbox. A control that you add to the text layer is an InlineShape object, to which you gain access programmatically through the InlineShapes collection.
A control that you add to the drawing layer is a Shape object, to which you gain access programmatically through the Shapes collection. Controls in the text layer are treated like characters and are positioned as characters within a line of text. In design mode, ActiveX controls in the drawing layer are visible only in print layout view or Web layout view.
If you want the user to use the ActiveX controls but not change the layout of the document, protect the document by clicking the Protect Form button on the Forms toolbar. The other events listed in the Procedure drop-down list box are documented in Microsoft Forms Help. For more information about using events with ActiveX controls, see the Control and dialog box events and the Using events with ActiveX controls topics.
If you want to add form fields instead of ActiveX controls to your document to create an online form, use the Forms toolbar. The Me keyword in an event procedure for an ActiveX control on a document refers to the document, not to the control. Writing event code for controls on documents is very similar to writing event code for controls on forms.