iststill.blogg.se

How do i have numbered headings in microsoft word
How do i have numbered headings in microsoft word






how do i have numbered headings in microsoft word

This seems pretty straight forward to by just looking at this code, but it's a little bit more complicated since the object model in that is provided in VSTO coding in C# is quite different from what you are able to use in VBA. ListGalleries(wdOutlineNumberGallery).ListTemplates(5), ListLevelNumber:= _ TextPosition = CentimetersToPoints(2.79)ĪctiveDocument.Styles("Heading 1").LinkToListTemplate ListTemplate:= _ With ListGalleries(wdOutlineNumberGallery).ListTemplates(5).ListLevels(9) TextPosition = CentimetersToPoints(2.54)

how do i have numbered headings in microsoft word

With ListGalleries(wdOutlineNumberGallery).ListTemplates(5).ListLevels(8) TextPosition = CentimetersToPoints(2.29) With ListGalleries(wdOutlineNumberGallery).ListTemplates(5).ListLevels(7) TextPosition = CentimetersToPoints(2.03) With ListGalleries(wdOutlineNumberGallery).ListTemplates(5).ListLevels(6)

how do i have numbered headings in microsoft word

TextPosition = CentimetersToPoints(1.78) With ListGalleries(wdOutlineNumberGallery).ListTemplates(5).ListLevels(5) TextPosition = CentimetersToPoints(1.52) With ListGalleries(wdOutlineNumberGallery).ListTemplates(5).ListLevels(4) TextPosition = CentimetersToPoints(1.27) With ListGalleries(wdOutlineNumberGallery).ListTemplates(5).ListLevels(3) TextPosition = CentimetersToPoints(1.02) With ListGalleries(wdOutlineNumberGallery).ListTemplates(5).ListLevels(2) TextPosition = CentimetersToPoints(0.76) With ListGalleries(wdOutlineNumberGallery).ListTemplates(5).ListLevels(1) FirstLineIndent = CentimetersToPoints(-0.76)ĪctiveDocument.Styles("Heading 1").NoSpaceBetweenParagraphsOfSameStyle = _ With ActiveDocument.Styles("Heading 1").ParagraphFormat








How do i have numbered headings in microsoft word