J
John Smith
Can the following two loops be combined into one? I need to do
multiple find and replace and it's taking a long time. I hope if I
can do multiple find and replace in just one loop, it'll take less
time.
Do While .Execute(FindText:=" <", ReplaceWIth:="<",
MatchWildcards:=False, Wrap:=wdFindContinue, Forward:=True) = True
Loop
Do While .Execute(FindText:="(", ReplaceWIth:=vbTab + "(",
MatchWildcards:=False, Wrap:=wdFindContinue, Forward:=True) = True
Loop
multiple find and replace and it's taking a long time. I hope if I
can do multiple find and replace in just one loop, it'll take less
time.
Do While .Execute(FindText:=" <", ReplaceWIth:="<",
MatchWildcards:=False, Wrap:=wdFindContinue, Forward:=True) = True
Loop
Do While .Execute(FindText:="(", ReplaceWIth:=vbTab + "(",
MatchWildcards:=False, Wrap:=wdFindContinue, Forward:=True) = True
Loop