#1
|
|||
|
|||
Numbering problems
I am working on very intricate templates wherein I take data from an Access 2010 database and merge it into Word. Some of the paragraphs in the template are dependent upon the presence or absence of data, true/false boxes, or the value of data. All of the paragraphs are numbered, and I need to keep the numbering. However, when I insert dependent paragraphs it throws off my numbering. Word either removes the previous paragraphs number or fails to number the dependent paragraph. I have tried everything I can think of: individual formatting of the merge fields using right click after insertion of the merge statement, number formatting prior to inserting the merge statement, highlighting all text after inserting the merge statement and selecting the numbering from the tool bar, and many other options. Here is an example of what I have:
1. Random text.{IF {MERGEFIELD Random} = "True" " dependent text" ""} If I start a new paragraph prior to inserting the merge statement, the next paragraph and previous paragraph are numbered, but even when the dependent text does not appear an extra numbered line still appears. Any help would be greatly appreciated. |
#2
|
||||
|
||||
Hi thecthdox,
You should be able to get the results you're after by embedding the conditional paragraph break within the field construction, thus: 1. Random text.{IF {MERGEFIELD Random} = "True" "dependent text¶ "}¶ Next paragraph¶ or 1. Random text.¶ {IF {MERGEFIELD Random} = "True" "dependent text¶ "}Next paragraph¶
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
dependent text, numbering |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WBS numbering 100>101,102,103 | bluphoto | Project | 3 | 03-19-2012 09:09 AM |
Problems with numbering! | Makube | Word | 5 | 11-02-2011 07:08 AM |
pst problems - HELP!! | hussar | Outlook | 1 | 03-07-2011 06:41 PM |
Problems with outline numbering in Word 07 | rbilleaud | Word | 0 | 08-10-2009 12:23 PM |
Problems with Bcc | beadsworldwide | Outlook | 3 | 02-01-2006 03:34 PM |