You can replicate the process in Code, in basic terms:
Sub Example()
Dim vFW As Variant, vRW As Variant
Dim lngR As Long
On Error GoTo ExitPoint
Application.ScreenUpdating = False
vFW = Array(1, 2, 4, 5)
vRW = Array("^", "@", "[", "]")
For lngR = LBound(vFW) To UBound(vFW) Step 1
With Selection
.Replace vFW(lngR), vRW(lngR)
End With
Next lngR
For lngR = LBound(vFW) To UBound(vFW) Step 1
With Selection
.Replace vRW(lngR), vFW(UBound(vFW) - lngR)
End With
Next lngR
ExitPoint:
Application.ScreenUpdating = True
End Sub
above is geared to run against the active selection at run-time
Bookmarks