04-27-2014, 04:35 PM
Hello,
I want integrate from vba to QM a "find and replace" macro recorded in ms word vba.
I haven't found anything that could be helpful.
Thanks
I want integrate from vba to QM a "find and replace" macro recorded in ms word vba.
Sub Macro1()
'
' Macro1 Macro
' Macro recorded 27.04.2014 by Sergiu
'
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = "x1"
.Replacement.Text = "test"
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute
End Sub
I haven't found anything that could be helpful.
Thanks