Sub
自动编号改为手动编号
()
ActiveDocument.Content.ListFormat.ConvertNumbersToText
End Sub

Sub
批量去除?/p>
()
ActiveDocument.Content.Fields.Unlink
End Sub

Sub CenterPara()
'
绝对居中
(
中国式居?/p>
)
With Selection.ParagraphFormat
.CharacterUnitFirstLineIndent = 0
.FirstLineIndent = 0
.CharacterUnitLeftIndent = 0
.LeftIndent = 0
.CharacterUnitRightIndent = 0
.RightIndent = 0
.Alignment = wdAlignParagraphCenter
End With
End Sub

Sub
选中所有的表格
()
Dim tempTable As Table
Application.ScreenUpdating = False
If ActiveDocument.ProtectionType = wdAllowOnlyFormFields Then
MsgBox "
文档已保?/p>
+
填写窗体,此时不能选中多个表格
"
Exit Sub
End If
ActiveDocument.DeleteAllEditableRanges wdEditorEveryone
For Each tempTable In ActiveDocument.Tables
tempTable.Range.Editors.Add wdEditorEveryone
Next
ActiveDocument.SelectAllEditableRanges wdEditorEveryone
ActiveDocument.DeleteAllEditableRanges wdEditorEveryone
Application.ScreenUpdating = True
End Sub

Sub
文本反?/p>
()
'
对常规文本进行反?/p>
Dim myRange As Range, oEditor As Editor
On Error Resume Next
If Application.Version < 11 Then
MsgBox "
版本过低?/p>
"