#1
|
|||
|
|||
Nesting Variables SET, LISTNUM, and REF
I am building a large 100 page document with many conditional clauses. The paragraphs need to be numbered sequentially, however depending on responses to ASK variables, some portions may not be included. Because of the length of some of the text portions, I have decided to use SET, and then retreive them usinf REF at appropriate times in the body of the document. I am having a problem with the paragraph numbers being sequential, or even showing up at all. Also, some of the SET text paragraphs have sub-paragraphs which need to be numbered. This is what I have:
{If ASKANSWER = 1 "{LISTNUM \l 2}{REF SETChoiceA}" "{LISTNUM \l 2}{REF SETChoiceEB}{LISTNUM \l 3}{REF SETChoiceEB1}{LISTNUM \l 3}{REF SETChoiceEB2}" I broke the subparagraphs into seperate SET text responses. I am not getting the paragraph numbers at all on the nerges, although the textr is coming in. Any thoughts? |
#2
|
||||
|
||||
Hi Wyskers,
The problem with the numbering is most likely due to a limitation in the way LISTNUM fields work. Some simply don't work when embedded in other fields. It appears LISTNUM is such a field. You may get better results by using paragraphs formatted with appropriate heading number Styles, but even these can be finnicky to embed in IF fields.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
changing variables in MS word - please help | McGinzo | Word | 0 | 08-24-2011 06:25 AM |
Convert LISTNUM field codes to text | remedios43 | Word | 2 | 07-31-2011 09:21 AM |
Update bookmarks and variables in document | webharvest | Word VBA | 5 | 06-21-2011 03:22 PM |
Envelopes with Document Variables | mailtobln | Word | 0 | 02-11-2009 10:48 PM |