Hello, I am utilizing bookmarks to try and add new "autonumber" sections to my word document.
Here is an example of what I am trying to do:
A. This section already exists.
B. This section also already exists.
C. This section exists.
D. This is a bookmark, which I will hide if I don't want anything
As you can see, A,B,C will always be in my document, but I am not sure if D should be added until runtime. So I have created the autonumber section D in my word document, and will set the book mark text="" if I don't want it.
However, when I set the bookmark text = "", it still leaves the autonumber D. in the generated document. And if I try and set the bookmark to include the line above D. - it gives me a runtime error about a node being null.
Please, can someone give me a workaround for this situation?!?!? Help! ;)