Here I am again, humbly asking advice on what appears to me as a sticky problem. My question today is how to update SEQ fields in an included document without refreshing the full included document.
Background: my main document uses an INCLUDETEXT field to bring in the contents of a sub-document. The sub-document contains a procedure whose steps are numbered via SEQ fields. Some paragraphs in the sub-doc are marked with a style called UG Only. The idea is that when the sub-doc is included in the user’s guide, all steps are used; but when included in the Getting Started document, I search for and delete all text marked UG Only.
With me so far? The problem is that, in the sub-doc, some of the paragraphs marked with the UG Only style are procedure steps with SEQ fields. Suppose that step 3 is marked UG Only — I want it to appear in the user’s guide but not in Getting Started. When I’m generating the Getting Started doc, I use find/replace to delete all UG Only text. So I’m left with a procedure whose steps are numbered 1, 2, 4. So far so good, but now I want Word to re-number the sequence in some automated way. The only way I can think of to do that is to select the included sub-doc and press F9. Unfortunately, that updates the INCLUDETEXT field rather than the included SEQs, causing the previously-deleted step 3 to re-appear.
So the question is this: is there another way to tell Word to refresh the values of the fields in the sub-doc without refreshing the sub-doc itself? I want to keep step 3 in the sub-doc, since it still applies when included in the user guide. I hope I don’t have to maintain separate versions of the sub-doc, or have one sub-doc containing steps 1 & 2 and another containing step 4, but I can’t think of any other way to do it. Anybody have any ideas? Thanks so much (I really appreciate all the advice I’ve received in this forum), and happy holidays to those of you celebrating them this week.
Bruce Watson