Hello,

The macro I wrote populates the EditReplace dialog box; and then “Shows” it so the operator can simply proceed with the search.

However, if the operator chooses to “Replace All” and then uses “Close” or “X’s out” of this box, a Run-Time error '5525' appears: "Word has completed its search of the header/footer and has made 1 replacement."

The debug code stops here:
Dialogs(wdDialogEditReplace).Show

It doesn’t seem to make a difference whether I use “Show” or “Display” at the end of this line--?

Can somebody suggest a fix?

Thanking you,
Janet