Professional Documents
Culture Documents
Table of Contents
ADDING THE DEVELOPER TAB ................................................................................................................................ 1 ADDING THE LEGACY TOOLS GALLERY ................................................................................................................... 1 ADD A TABLE ......................................................................................................................................................... 1 ADDING CONTROLS ............................................................................................................................................... 2 CURRENT DATE CONTROL................................................................................................................................................2 OPTION BUTTON CONTROL..............................................................................................................................................3 TEXT FORM CONTROL .....................................................................................................................................................4 CHECK BOX CONTROL .....................................................................................................................................................5 DROP-DOWN FORM CONTROL .........................................................................................................................................5 NUMBER FIELD ..............................................................................................................................................................7 CALCULATION CONTROL ..................................................................................................................................................8 A DATE FIELD................................................................................................................................................................9 CHANGING PROPERTIES ....................................................................................................................................... 10 PROTECTING THE FORM ...................................................................................................................................... 10 REMOVING PROTECTION FROM THE FORM ......................................................................................................... 12 EXPORT FORM DATA TO AN EXCEL WORKSHEET ................................................................................................. 13
click the button. 2. Place a checkmark in the box titled, Show Developer tab in the Ribbon. 3.
1. On the Developer tab, right-click the Legacy Tools Add to Quick Access Toolbar.
ADD A TABLE
To have more control over where the form controls (fields) are placed in a form, many people create tables and then add the controls into the appropriate cells.
Page 1
ADDING CONTROLS
Current Date Control
The Current Date control will display the current date, no matter what day the form is opened. The user will not have to type in the date. 1. Place the cursor in the area on the form where the text fill-in box is to be displayed. 2. On the Developer tab, click the Legacy Tools ribbon. icon, located on the Controls
3. Click the Text Form Field icon. 4. Right-click the newly-added control and choose Properties. 5. Use the drop-down arrow in the Type field to choose Current Date. 6. 7. Skip to the Protecting the Form section if no more controls are to be added.
Page 2
b. Click the Option Button (ActiveX Control) icon. c. Move the cursor to the spot where the next control is to be inserted. d. Repeat steps #2a-#2c for all the controls to be added to the group. Format the Option Button Controls 3. Right-click the first option button control and choose Properties. 4. Make the following changes: a. AutoSize = True b. Caption = whatever text that you want the user to see displayed next to the option button c. GroupName = type a simple name (cannot include spaces) for the collection of similar option buttons. For example, if the user had to choose his/her employee classification, the form may list 3 option buttons (classified, faculty, & administrator), but all three would have a group name such as EmpClass. 5. Left-click the second option button, and make similar changes to the first option button. 6. Repeat step 4 for each option button in the group. 7. Close the Properties window. 8. Skip to the Protecting the Form section if no more controls are to be added.
Page 3
4. Right-click the newly-added control and choose Properties. 5. As shown in the previous illustration, several properties can be set from the same window: a. The Default Text field contains wording that appears inside the control before the user starts typing. b. The Maximum Length field sets the limit of characters the user can place into the control. c. Make sure the Fill-in Enabled field is checked so that users can type inside the control. 6. 7. Skip to the Protecting the Form section if no more controls are to be added.
Page 4
Click the Check Box (ActiveX Control) icon. Right-click the Check Box and choose Properties. Change the Caption to whatever text you want displayed next the Check Box. Close the Properties window. Repeat steps #1-#6 for each checkbox that is to be added. Skip to the Protecting the Form section if no more controls are to be added.
3. Click the Drop-Down Form Field icon. 4. Right-click the newly-added control and choose Properties.
Page 5
NOTE: If you want the symbol & to appear in one of your choices, you have to type it twice. Otherwise, Word will ignore it.
5. Add items to the drop-down list: a. In the Drop-down Item field, type the first entry and press ENTER . See the note above the previous illustration. b. Repeat step #5a for each item to be displayed in the list. 6. 7. Skip to the Protecting the Form section if no more controls are to be added.
Page 6
Number Field
A number field starts off as a text field, but one of its properties gets changed so that it becomes a number instead. 1. Place the cursor on the form where the Number control is to be displayed. 2. On the Developer tab, click the Legacy Tools ribbon. icon, located on the Controls
3. Click the Text Form Field icon. 4. Right-click the newly-added control and choose Properties. 5. Make the following changes: a. In the Type field, use the drop-down arrow to select Number. b. If a default number is to be displayed in the field before the user enters anything, type that number in the Default Text field. c. If the number that the user enters into the field should be formatted a particular way, such as currency, use the drop-down arrow in the Number Format field to select the desired format. d. If the number is going to be used in a calculation later, place the cursor in the Bookmark field, and type a short name (no spaces allowed) for the number field. e. If the user is to be able to type a number into the field, make sure that the Fill-In Enabled box is checked. f. Place a checkmark in the Calculate on Exit box. 6. 7. Skip to the Protecting the Form section if no more controls are to be added.
Page 7
Calculation Control
Like the Number field, a Calculation control field starts off as a text field, but one of its properties gets changed so that it becomes a Calculation instead. This type of control performs a mathematical calculation based on other Number fields. 1. Place the cursor on the form where the Calculation control is to be displayed. 2. On the Developer tab, click the Legacy Tools ribbon. icon, located on the Controls
3. Click the Text Form Field icon. 4. Right-click the newly-added control and choose Properties. 5. Make the following changes: a. In the Type field, use the drop-down arrow to select Calculation. b. In the Expression field, notice that there is an equal sign. Add the formula to be used in the calculation after the equal sign. For example, suppose we had two number fields with bookmarks, Inventory and Price respectively. If the calculation field is to multiply those two number fields together, the expression would be, =Inventory * Price. c. Place a checkmark in the Calculate on Exit box. 6. 7. Skip to the Protecting the Form section if no more controls are to be added.
Page 8
A Date Field
1. Place the cursor in the form where the checkbox is to be inserted. 2. On the Developer tab, click the Date Picker 3. As shown below, it places a contol in the form. icon on the Controls ribbon.
4. Click the center of the control to select it and then click the on the Controls ribbon.
button
5. Add a checkmark to the Content Control Cannot be Deleted checkbox. 6. Click the desired date format. 7. 8. Skip to the Protecting the Form section if no more controls are to be added.
Page 9
Changing Properties
With the exception of the Date Picker control, right-clicking a control will bring up the menu from which Properties can be chosen. 1. Right-click a previously added field and choose properties. 2. In the resulting window, make any desired changes. 3. 4. Skip to the Protecting the Form section if no more controls are to be added.
Page 10
5. As shown in the next illustration, place a checkmark in the box for Allow only this Type of Editing in the Document.
6. Use the drop-down arrow to choose Filling in Forms. 7. Under Start Enforcement, click the note below: button. See the
NOTE: If the is grayed out, click the icon, located on the Controls ribbon of the Developer tab.
8. If a password is desired to unlock the form, type the password in the two fields of the popup window and click .
NOTE: At this point, the only places that can be edited are the controls that have been added to the form. Everything else on the form is protected.
Page 11
Page 12
5. 6. Work through the protected field, adding data to fields as needed. 7. Click the Office Button icon, and then click Save Copy As. It will automatically save the form data as plain text. 8. Type a name for the new data file. 9. A File Conversion dialog box will appear, with a preview of your information from the form.
10. 11. Use Excel to open the file: a. Open Excel 2007. b. On the Data tab, click the From Text icon, located on the Get External Data ribbon. c. Specify where the text file was saved. d. Double-click the text file when it is located. e. Click the option button for Delimited. f. g. Add a checkmark to the Comma box. h. i.
Page 13