N
nostabo
I'm trying to automate the insertion of text into contracts using Word 2007.
I can do it with the legacy controls, but the new text content control won't
seem to do it.
The code that works for the legacy controls is:
ActiveDocument.FormFields("txtContractName").Result = txtContractName.Text
Where the txtContractName that supplies the value is on a form.
I'd like to use the more "modern" control. Is it possible?
I can do it with the legacy controls, but the new text content control won't
seem to do it.
The code that works for the legacy controls is:
ActiveDocument.FormFields("txtContractName").Result = txtContractName.Text
Where the txtContractName that supplies the value is on a form.
I'd like to use the more "modern" control. Is it possible?