C
Chuck
Hi all
I'm trying to figure out how to get the ListTemplate index/name for a
specific style -- I'd like to be able to modify the style's LinkedStyle and
in order to do that it seems I have to specify the Style's ListTemplate first.
Just to test if I can identify it, I tried the following code
Set mystyle = ActiveDocument.Styles("Level 1")
MsgBox ActiveDocument.ListTemplates(mystyle.ListTemplate.Name). _
ListLevels(1).LinkedStyle
I don't get an error but the result of "mystyle.ListTemplate.Name" is "" (ie
nothing).
Any pointers? Thanks in advance!
Chuck
I'm trying to figure out how to get the ListTemplate index/name for a
specific style -- I'd like to be able to modify the style's LinkedStyle and
in order to do that it seems I have to specify the Style's ListTemplate first.
Just to test if I can identify it, I tried the following code
Set mystyle = ActiveDocument.Styles("Level 1")
MsgBox ActiveDocument.ListTemplates(mystyle.ListTemplate.Name). _
ListLevels(1).LinkedStyle
I don't get an error but the result of "mystyle.ListTemplate.Name" is "" (ie
nothing).
Any pointers? Thanks in advance!
Chuck