T
Theo van der Ster
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
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