![]() |
#21
|
||||
|
||||
![]()
What is the value of i when you get the error message? Do you have a Schedule Level Style with that value?
PS: you seem to have overlooked my previous advice about changing: .Font.Bold = Choose(i, 0, 0, 0, 0, 0, 0, 0, 0) to: .Font.Bold = False Your left indents could also be handled more simply, via: .ParagraphFormat.LeftIndent = InchesToPoints(Choose(i, 0.5, 1, 1.5, 2.25, 2.75, 3.25, 3.75)) Likewise, the varying first line indents could be handled via: .ParagraphFormat.FirstLineIndent = -InchesToPoints(Choose(i, 0.5, 0.5, 0.5, 0.75, 0.5, 0.5, 0.5))
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
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 |
![]() |
Jennifer Murphy | Word VBA | 2 | 12-14-2015 02:31 AM |
![]() |
KieranWood | Word | 2 | 03-03-2011 09:28 AM |