The first of those modifications would make the code run dramatically slower. Do you really need a 493-character definition?
As for the second issue, you could try changing:
.Text = "(" & Split(Split(FRList, vbCr)(j), vbTab)(0) & ")"
.Replacement.Text = "^&-" & Split(Split(FRList, vbCr)(j), vbTab)(1)
to:
.Text = "(" & Split(Split(FRList, vbCr)(j), vbTab)(0) & ") ("
.Replacement.Text = "(" & Split(Split(FRList, vbCr)(j), vbTab)(0) & ")-" & Split(Split(FRList, vbCr)(j), vbTab)(1) & " ("
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|