Forum Discussion

AdamDonum's avatar
AdamDonum
Copper Contributor
Jul 28, 2025

Auto update data in Content Controls from XML files?

Hi!

I'm looking for help to create a word template which is capable to read data from XML files into content controls and i want those content controls to automatically update based on the attached XML file.

To be more specific: i'm using ArchiCad (architect design program) which crates a XML file with all the basic information (like the project name, address etc) every time you save a project. These XML files have the same name, structure, beside the stored date they are identical, so assigning the same values to content controls should work. I want to use those XML files to auto-fill content controls in a Word document to auto-create Technical Specification documentations to every project.

I went to ask multiple AI first, according them it's only possible by using VBA programming, which is way out of my expertise. I also asked them to write the code, but none of those worked and they couldn't figure out why.

 

Anyone ever done this or can help me out?

1 Reply

  • You can use the mail merge function to connect Excel/CSV data and automatically populate Word content, or use a VBA script to read XML and update content controls. Both methods are applicable.

Resources