【发布时间】:2019-06-16 15:49:15
【问题描述】:
我有下面的代码,但没有使用Selection。
Sub Format paragraph()
Dim wdDoc As Document
With wdDoc.Range.Find
.Font.Size = 12
.Text = "?"
.Execute
End With
End Sub
找到font size = 12的字符时,如何改变当前段落的格式?例如:
wdDoc.Paragraph(current).Font.Size = 14
wdDoc.Paragraph(current).Font.Color = wdBlue
感谢您的帮助。
【问题讨论】: