Hi,
I'm trying to return values from the Replace dialog. I've done this
successfully with other dialogs but for the Replace dialog this somehow
doesn't work. Any ideas are welcome.
TIA,
Theo
With Dialogs(wdDialogEditReplace)
.Find = strSearch
.Show
strSearch = .Find
strReplace = .Replace
End With
MsgBox strSearch
MsgBox strReplace
Klaus Linke - 25 Feb 2005 16:05 GMT
Hi Theo,
Does an .Update after the .Show fix it?
Regards,
Klaus
> Hi,
>
[quoted text clipped - 14 lines]
> MsgBox strSearch
> MsgBox strReplace
Theo van der Ster - 25 Feb 2005 23:13 GMT
Klaus,
You're a genius! It works!
I'd never heard of the .Update possibility. Live and learn.
Thanks very much,
Theo