If you know what you want to find, and what you want to replace it with, why bother to open the dialog? You can just run the replacement in VBA.