![]() |
|
|
Thread Tools | Display Modes |
#6
|
||||
|
||||
![]()
Ahh, I see you have used a List style and applied it to Heading 1 (so Heading 1 list's settings are effectively being overridden by the list style). I never use list styles because of the extra layer of complexity, but since you have used it, the code needs to be addressing that ListTemplate instead
Code:
Sub ScheduleUpdateStylesFromTemplate() Dim x As Long, aLT As ListTemplate Set aLT = ActiveDocument.Styles("Numbered Headings").ListTemplate x = aLT.ListLevels(1).StartAt ActiveDocument.UpdateStyles 'reimports styles from the attached template aLT.ListLevels(1).StartAt = x End Sub
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
whsnow | Word | 2 | 03-24-2018 06:57 AM |
![]() |
spthomas | Word | 3 | 11-27-2013 03:55 PM |
2 "autonumbers" in 1 list heading? | christie | Word | 0 | 08-01-2011 08:24 AM |
![]() |
Jamal NUMAN | Word | 2 | 07-03-2011 03:11 AM |
Word 2007 template "Restart at 1" changes styles | BuzzyG | Word | 0 | 06-10-2011 01:19 PM |