![]() |
|
#7
|
||||
|
||||
|
Quote:
For what you now seem to require, you'd use different variants of the macros for whichever numbering schemes your source documents employ. Simply examine the document to determine numbering scheme, then run the macros applicable to that scheme. Thus, (per the Eileen's Lounge macros) you might have macros named: ApplyMultiLevelHeadingNumbersA ApplyMultiLevelHeadingNumbersB ApplyMultiLevelHeadingNumbersC and ApplyHeadingStylesA ApplyHeadingStylesB ApplyHeadingStylesC So, if (a) is Heading 3 in one document and Heading 4 in another, you'd simply choose the variants that fit the Heading 3 or Heading 4 scenario, as appropriate. And, to further automate things, you might insert a line like: Call ApplyHeadingStylesA just before the 'End Sub' of the ApplyMultiLevelHeadingNumbersA macro, and so on.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Word 2007: Unable to change character style, when using a linked Char/Para style format
|
Last Chance | Word | 3 | 06-09-2021 12:52 PM |
| Using numbered list style, how to indent text immediately following heading to match heading indent? | SpechtacularDave | Word | 3 | 09-25-2019 01:22 PM |
| Heading not following the correct numbering | jongleur | Word | 2 | 05-16-2017 10:52 AM |
Tab character causes style change to Heading 4 after macro
|
Jennifer Murphy | Word VBA | 2 | 12-14-2015 02:31 AM |
Unable to correct auto number of heading 5
|
KieranWood | Word | 2 | 03-03-2011 09:28 AM |