我想用我自己的覆盖 Word 2010 标准快速样式。但我收到如下所示的错误:
With tempDoc.Styles(wdStyleNormal) '// <-- here is the error
.Font.Name = "Arial"
.Font.Size = 10
.ParagraphFormat.Alignment = wdAlignParagraphJustify
.ParagraphFormat.LineSpacing = 12
End With
你可以在这里找到整个代码:http: //qranberry.com/stackoverflow/code.bas