does anyone know how to add a TEXTBOX onto a word 2007 document. i need to gather user input and after the form is filled out, the data will be added into an access database
thank you!
does anyone know how to add a TEXTBOX onto a word 2007 document. i need to gather user input and after the form is filled out, the data will be added into an access database
thank you!
Word supports different kind of text input fields:
"legacy" input fields that are implemented using Word fields:
Selection.FormFields.Add Range:=Selection.Range, Type:= wdFieldFormTextInput
ActiveX controls:
Selection.InlineShapes.AddOLEControl ClassType:="Forms.TextBox.1"
Content controls (Word 2007 or later):
Selection.Range.ContentControls.Add (wdContentControlText)