R
Ron.snape
Hi
I'm relatively new to vba programming in word, and I've got a bit stuck. I
have a document which consists of a number sections, each of which contains a
number of FormFields. Each Section is completed by a different individual in
a logical progression.
I've created a separate Formfield called 'FControl' which is empty when the
document is initially opened. This is updated with the identifier of the
individual/stage being completed at the end of the stage before it is saved
and closed ready for the next individual to open it and do their thing.
I've modified the Document_Open macro so that it tests the value of
'VControl', but I can't seem to access the value as no matter what the
content of 'FControl', it returns a Null value ("")) even though I can see
that it actually contains a valid value such as "EMP" or "LIN".
I'm checking the value using the code :
If ActiveDocument.Formfields("bkFControl").Result = "EMP" then .....
What am I doing wrong?
Any assistance gratefully received.
Thanks
Ron
I'm relatively new to vba programming in word, and I've got a bit stuck. I
have a document which consists of a number sections, each of which contains a
number of FormFields. Each Section is completed by a different individual in
a logical progression.
I've created a separate Formfield called 'FControl' which is empty when the
document is initially opened. This is updated with the identifier of the
individual/stage being completed at the end of the stage before it is saved
and closed ready for the next individual to open it and do their thing.
I've modified the Document_Open macro so that it tests the value of
'VControl', but I can't seem to access the value as no matter what the
content of 'FControl', it returns a Null value ("")) even though I can see
that it actually contains a valid value such as "EMP" or "LIN".
I'm checking the value using the code :
If ActiveDocument.Formfields("bkFControl").Result = "EMP" then .....
What am I doing wrong?
Any assistance gratefully received.
Thanks
Ron