I am creating a macro to redefine styles Heading 1 through Heading 9. Everything seems to be going fine until I get to the last statement for the Heading 4 style:
ActiveDocument.Styles(“Heading 4”).LinkToListTemplate ListTemplate:= _
ListGalleries(wdOutlineNumberGallery).ListTemplates(5), ListLevelNumber:= _
4
I have a similar statement at the end Heading 1 through 3 and same for 5 through 9. The problem is that after that statement hits, my paragraph indent for Heading 1 is all out of wack. I’ve confirmed it does not happen sooner in the procedure (such as when the list level 1 is defined. List level information is defined for all list levels for each style.)
In this case, I have the number located at a -36 indent (so it will not be seen beyond the visible left edge of the frame that contains it) and the text should start at 0. It changes so that the number is located at 0 and the text is at 72.
Any ideas about this anomoly?
Thanks!!
Troy