I need to be able to do one of two things, through code:
1. Change the max length of a form field.
or
2. Rename an existing form field.
I've tried changing the name of a form field with the following code. However, it doesn't seem to work, as nothing gets placed in the bookmark field.
With Selection.FormFields(1)
.Name = "Inv" & myRow
.Enabled = False
End With
Thanks in advance.
Chris
1. Change the max length of a form field.
or
2. Rename an existing form field.
I've tried changing the name of a form field with the following code. However, it doesn't seem to work, as nothing gets placed in the bookmark field.
With Selection.FormFields(1)
.Name = "Inv" & myRow
.Enabled = False
End With
Thanks in advance.
Chris