> Hello Jonathan!
>
[quoted text clipped - 3 lines]
> to run Document.Close() and at that time get values from the header and
> set them into the documentproperties.
I see. There may be a better alternative. Put bookmarks on the content in
the header. Tthen when you create the document properties, you can check the
"Link to content" box, and select the bookmark whose text you want the
property to reflect. Then, whenever you save the document, the property
value will match the text of the bookmark it is associated with.

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
Roger Larsson - 28 Apr 2005 08:47 GMT
Ok, i'll try that! Thank's!
/Roger
>> Hello Jonathan!
>>
[quoted text clipped - 9 lines]
> property to reflect. Then, whenever you save the document, the property
> value will match the text of the bookmark it is associated with.