S
skbrown14
I have code that inserts autotext entries into a document. I need to change
the name of the form fields that are in those autotext entries based on the
number of those entries that are inserted into the document.
For example, I have a form field called DICTATION_N1_x in the autotext
entry. If I insert 2 copies of the autotext entry, I want the first copy to
have the form field named "DICTATION_N1_1" and the second copy to have the
form field named "DICTATION_N1_2".
In doing this programmatically, I am unable to set the .Name property of the
form field to a variable. I am getting an automation error. Does anyone
know how to set the name property on a form field programmatically to a
variable?
Thanks in advance for any help!
the name of the form fields that are in those autotext entries based on the
number of those entries that are inserted into the document.
For example, I have a form field called DICTATION_N1_x in the autotext
entry. If I insert 2 copies of the autotext entry, I want the first copy to
have the form field named "DICTATION_N1_1" and the second copy to have the
form field named "DICTATION_N1_2".
In doing this programmatically, I am unable to set the .Name property of the
form field to a variable. I am getting an automation error. Does anyone
know how to set the name property on a form field programmatically to a
variable?
Thanks in advance for any help!