Hi,
I'm using CustomDocumentProperties in Word 2000 to store some details about a document (in this case a Job number) The propery is set by code in a UserForm and is also shown in the document header by using a Field.
My problem is that when I close the form I want to update the fields in the document to reflect the new values
Using 'ActiveDocument.Fields.Update' updates fields in the body of the document but not in the header
Field code = {DocProperty "SPJOB" \* mergeformat }
userform code snippet
....
ActiveDocument.CustomDocumentProperties("SPJOB"
.Value = Jobnumber
ActiveDocument.Fields.Update
....
Any ideas ??
I'm using Word 2000 sp3
Thanks In Advance
I'm using CustomDocumentProperties in Word 2000 to store some details about a document (in this case a Job number) The propery is set by code in a UserForm and is also shown in the document header by using a Field.
My problem is that when I close the form I want to update the fields in the document to reflect the new values
Using 'ActiveDocument.Fields.Update' updates fields in the body of the document but not in the header
Field code = {DocProperty "SPJOB" \* mergeformat }
userform code snippet
....
ActiveDocument.CustomDocumentProperties("SPJOB"
ActiveDocument.Fields.Update
....
Any ideas ??
I'm using Word 2000 sp3
Thanks In Advance