本示例打开活动文档所用的模板,并修改“标题 1”样式

Set tempDoc = ActiveDocument.AttachedTemplate.OpenAsDocument
With tempDoc.Styles(wpsStyleHeading1).Font
    .Name = "Arial"
    .Size = 16
End With