Aikimark - MS Word has the ability to store xml files in a Word document / template. The collection of these is CustomXMLParts and an item is a CustomXMLPart. In the IDE it requires a ref to MicrosoftXML, 3.0 + Also, the XML can be used for all sorts of purposes and does not get wiped by the previous custom XML issues relating to MS infringing on the i4i patent a few years back.

Thanks for this, it looks like something that will do the trick.... I'd really like to be able to simply append to (or even insert into) the file but this will get me out of strife for the moment. Will try to implement in the next few days.

Hi aikimark - well it's not quite the solution that I was looking for but it definitely works...

I ended up taking a shortcut and loading a well formed string of xml directly into a newly added customXMLpart. Seems like the wrong way of doing things, but I'll deal with that later. In the meanwhile, please let me know if you get the other part of your testing completed.

Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…

Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…