View Single Post
 
Old 10-21-2021, 04:05 AM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,106
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

A simple macro should do the trick
Code:
Sub Macro1()
Dim oFld As Field
    For Each oFld In ActiveDocument.Fields
        If oFld.Type = wdFieldSequence Then
            If InStr(1, oFld.Code, "Appendix") > 0 Then
                oFld.Result.InsertAfter ")"
                oFld.Result.InsertBefore "("
            End If
        End If
    Next oFld
    Set oFld = Nothing
End Sub
Installing Macros
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote