![]() |
|
#1
|
||||
|
||||
![]()
As I said, the Headings should be using outline numbering if you want the numbers to relate to each other. If this was the case, the original code would have ignored the headings numbers.
Failing that, there are two other potential ways to sort the headings from the rest. Try either of the following in place of the If line: If r.ListFormat.ListType = wdListSimpleNumbering And Left(r.Style,7) <> "Heading" Then If r.ListFormat.ListType = wdListSimpleNumbering And r.ParagraphFormat.OutlineLevel < 10 Then
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
daanhaeyen | Word | 3 | 09-28-2015 12:15 PM |
List & headings & numbering problems | Vegas | Word | 2 | 02-24-2015 03:01 AM |
Headings - Levelled Numbering | pgrant | Word | 2 | 11-28-2013 04:00 PM |
Headings and numbering | Mart. | Word | 1 | 04-05-2012 12:02 PM |
Word headings not numbering correctly? | rbilleaud | Word | 4 | 08-03-2011 08:46 AM |