Default Property Example

This example sets the default text for the text form field named "Name."

ActiveDocument.FormFields("Name").TextInput.Default = "your name"

If the first form field in the active document is a check box, this example retrieves the default value.

If ActiveDocument.FormFields(1).Type = wdFieldFormCheckBox Then _
    defvalue = ActiveDocument.FormFields(1).CheckBox.Default

This example sets the default item for the drop-down form field named "Colors" in Sales.doc.

Documents("Sales.doc").FormFields("Colors").DropDown.Default = 2