A
Andre
I tried:
BeltLength = ActiveDocument.FormFields("BeltLength").Result
ActiveDocument.FormFields("BeltLength").Result := BeltLength
BeltLength := ActiveDocument.FormFields("BeltLength").Result
ActiveDocument.FormFields("BeltLength").Result = BeltLength2
The text form field does have a bookmark name of BeltLength, and I
want the variable to be BeltLength (or some variation of it).
Some slight variations of the above were tried with no success, when I
step through, it says "Expected function or variable". Maybe I didn't
declare the variable BeltLength correctly? How should I have declared
it if the entry from the form field is a number?
Thank you,
Andre Susanto
BeltLength = ActiveDocument.FormFields("BeltLength").Result
ActiveDocument.FormFields("BeltLength").Result := BeltLength
BeltLength := ActiveDocument.FormFields("BeltLength").Result
ActiveDocument.FormFields("BeltLength").Result = BeltLength2
The text form field does have a bookmark name of BeltLength, and I
want the variable to be BeltLength (or some variation of it).
Some slight variations of the above were tried with no success, when I
step through, it says "Expected function or variable". Maybe I didn't
declare the variable BeltLength correctly? How should I have declared
it if the entry from the form field is a number?
Thank you,
Andre Susanto