Question about ListTemplate numbers

M

MLBeck

Am I correct in understanding that in the following code, the object
"ListTemplate(4)" refers to whatever template happens to be in the
4th position of my OutlineNumberGallery? And that this could refer to
a different ListTemplate on someone else's computer? If I make a
template for others to use, the fact that it refers to a different
list template should not matter as long as I specify what I want each
item in the ListLevel to be, right? Or do I need to refer to the
ListTemplate by the name I gave it? And how would I do that?
"ListTemplate("MyList")" or is there some property for name?

With
ListGalleries(wdOutlineNumberGallery).ListTemplates(4).ListLevels(1)
.NumberFormat = "%1"
.TrailingCharacter = wdTrailingTab
.NumberStyle = wdListNumberStyleArabic
.NumberPosition = InchesToPoints(0)
.Alignment = wdListLevelAlignLeft
.TextPosition = InchesToPoints(0.3)
.TabPosition = InchesToPoints(0.3)
.ResetOnHigher = 0
.StartAt = strSecNum
.LinkedStyle = "Heading 1"
End With

My code actually goes on to speficy each list level. I just did not
include it here.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top