E
Eric Weller
Whenever I try to set the .Name property of a FormField
object when the .name property is currently blank, I get
a runtime error thus:
Runtime Error: '-2147467259 (80004005)':
Method 'Name' of object 'FormField' failed
If you think it's odd that the message describes "name"
as a method rather than a property, join the club.
I've used different structures of code to attempt this,
but at it's most basic the code is:
selection.formfields(1).name = "MyName"
If there's already a name associated with FormFields(1),
the command succeeds. If name is blank, it fails with
the above error.
Thoughts?
object when the .name property is currently blank, I get
a runtime error thus:
Runtime Error: '-2147467259 (80004005)':
Method 'Name' of object 'FormField' failed
If you think it's odd that the message describes "name"
as a method rather than a property, join the club.
I've used different structures of code to attempt this,
but at it's most basic the code is:
selection.formfields(1).name = "MyName"
If there's already a name associated with FormFields(1),
the command succeeds. If name is blank, it fails with
the above error.
Thoughts?