#1
|
|||
|
|||
Numbered Outline Continuation Headings
This was previously posted in the Microsoft Word Tread but was not resolved so I thought I would post it here.
I need to develop a macro for adding a continuation heading based on a template using 7 outline levels. The outline numbering is as follows: Heading 1: 1.0 Heading 2 and Heading 2 TOC: 1.1 Heading 3 and Heading 3 TOC: 1.1.1 Heading 4: A. Heading 5: 1. Heading 6: a. Heading 7: 1) We require a continuation heading for any page that starts with a Heading 4 or higher. Some examples would be 6.1.2.B. (continued), 7.2.1.A.13. (continued), 5.3.2.B.2.b. (continued), etc. It needs to look at what the current heading level is at the top of the page and return a cross-reference to the parent Heading above. In a perfect world this would be automatic, but manual would be better than the time consuming method of manually cross-referencing the preceeding parent step and manually typing (continued). |
#2
|
||||
|
||||
Word has no built-in functionality for doing this. Although you could use a complex combination of IF and STYLEREF fields to test whether the Heading 4 or higher that starts a page is the same as the one that ends the page, then use the results of the IF tests to conditionally output the relevant heading reference plus '(continued)', I can't see how you could prevent '(continued)' appearing on a page that actually starts with a Heading 4 or higher.
The only way to achieve what you're after via a macro would entail using Section breaks so the corresponding page headers could contain the heading references plus '(continued)', but that would make subsequent maintenance of the document a nightmare.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Numbered Outline Continuation Headings | rdross51 | Word | 31 | 09-11-2017 05:52 PM |
Capturing numbered headings | jbvalen | Word VBA | 5 | 05-04-2017 05:03 PM |
Word Mixing Numbered Headings with Numbered List | Tess0 | Word | 11 | 07-15-2014 05:25 AM |
Headings and Number Outline Problem (MS Office 2008) | triodia | Word | 2 | 05-07-2012 02:03 AM |
numbered headings | Caroline | Word | 5 | 03-14-2011 09:09 AM |