本示例对所选内容中的所有段落应用“项目符号和编号”对话框“编号”选项卡中的第二个列表模板。

Selection.Range.ListFormat.ApplyListTemplate _
ListTemplate:=ListGalleries(wpsNumberGallery).ListTemplates(2)