Add Method (FormFields Collection)

See Also         Example         Applies To

Adds a new form field at the specified range.

Syntax

expression.Add(Range, Type)

expression   Required. An expression that returns a FormFields object.

Range   Required Range. The range where you want to add the form field. If the range isn't collapsed, the form field replaces the range.

Type   Required Long. The type of form field to add. Can be one of the following WdFieldType constants: wdFieldFormCheckBox, wdFieldFormDropDown, or wdFieldFormTextInput.