编辑word文档页脚中的表格

Edit tables in the footer of word document

我需要编写一个程序来编辑 word 文档页脚中的一些表格。我在 word 中阅读了一些关于表格的内容:

但我的问题是我的页脚中有几个表格,我无法添加书签,因为这取决于有多少张纸会有我的 .docx

这是我的页脚:

你知道我该怎么做吗?

谢谢

感谢@Timothy Rylatt,这对我有很大帮助!

You would do better to construct a template that contains the standard elements you need, such as headers and footers. If you use DocVariable or DocProperty fields to display data in the footer you don't need to access the footer at all. Just update the value of the property or document variable then update the fields. –