D
Daniel
I am having trouble with using string variable name instead of "hello"
replacement.text. I am getting type mismatch when I pass it from htm file to
ocx. Any help would be appreciated.
Thanks
Daniel
With Selection.Find
.ClearFormatting
.Text = "hi"
.Replacement.ClearFormatting
.Replacement.Text = "hello"
.Execute Replace:=wdReplaceAll, Forward:=True, Wrap:=wdFindContinue
End With
replacement.text. I am getting type mismatch when I pass it from htm file to
ocx. Any help would be appreciated.
Thanks
Daniel
With Selection.Find
.ClearFormatting
.Text = "hi"
.Replacement.ClearFormatting
.Replacement.Text = "hello"
.Execute Replace:=wdReplaceAll, Forward:=True, Wrap:=wdFindContinue
End With