Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

FormFields.Add method

Returns a FormField object that represents a new form field added at a range.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

FormField Add(
	Range Range,
	WdFieldType Type
)

Parameters

Range
Type: Microsoft.Office.Interop.Word.Range

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

Type
Type: Microsoft.Office.Interop.Word.WdFieldType

Required WdFieldType. The type of form field to add.

Show:
© 2015 Microsoft