How to insert nested field in footer using Word Open XML

WW 1 Reputation point
2022-10-04T06:38:07.563+00:00

Hi team,

I want to insert a nested field to an existing word doc, but I don't know how to get started.
I would like to insert the expression below.

{if {page} < 2 "some text" { if {page} < 3 "another text" {if {page} < 4 "text"}}}

Regards

Microsoft 365 and Office Development Other
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.