L
Larry
Here's the pattern I use for macros in which some action is performed
after each item is found. But the steps done inside the loop don't work
if they involve Selection.Find. In other words, it doesn't seem possible
to do a Find inside a Find. Is there any way around this?
Thanks,
Larry
Application.ScreenUpdating = False
With Selection.Find
.ClearFormatting
.Text = "text"
.Forward = True
.Wrap = wdFindContinue
Do While .Execute
' do steps
Loop
End With
after each item is found. But the steps done inside the loop don't work
if they involve Selection.Find. In other words, it doesn't seem possible
to do a Find inside a Find. Is there any way around this?
Thanks,
Larry
Application.ScreenUpdating = False
With Selection.Find
.ClearFormatting
.Text = "text"
.Forward = True
.Wrap = wdFindContinue
Do While .Execute
' do steps
Loop
End With