Hi Doctor,
e.g. create a doc-variable with a value, like this:
ActiveDocument.Variables("MyVar").Value = "MyTest1"
Insert a doc-variable-field with a variable with name "MyVar".
Change the value of the variable, like:
ActiveDocument.Variables("MyVar").Value = "MyTest2"
Update the field:
ActiveDocument.Fields("MyVar").Update
or all fields
ActiveDocument.Fields.Update
HTH

Signature
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
DoctorG - 29 Nov 2005 13:04 GMT
Just what I needed, works fine.
Thanks Helmut!