Sorry, English is not my first language...
The goal is to insert datas (stored in an xml file) in the document with a userform.
Data should not be editable in the document !
The only way to change the data is to use a new version of the associated node in the xml file.
In my actual development, i can read an xml file and generate the treeview in the userform. But i don't know how to insert this data in the document while keeping a link with this data for future update with a new version.
By the way, at the word closure i'm only able to store the xml path (ActiveDocument.Variables.Add) rather than the xml object...
I hope it will clarify my needs.
|