R
russelworker
I need to find all the text for each "LVL" and move it to a new document. that is easy enough, but I cannot figure how to repeat the process, I think I need a loop.
help!
Sub find2(
' find2 Macr
' Macro recorded 4/22/2004 by arbuckle
Selection.FIND.ClearFormattin
With Selection.FIN
.Text = "lvl
.Replacement.Text = "
.Forward = Tru
.Wrap = wdFindContinu
.Format = Fals
.MatchCase = Fals
.MatchWholeWord = Fals
.MatchWildcards = Fals
.MatchSoundsLike = Fals
.MatchAllWordForms = Fals
End Wit
Selection.FIND.Execut
Selection.MoveLeft Unit:=wdCharacter, Count:=
Selection.MoveUp Unit:=wdLine, Count:=
Selection.MoveDown Unit:=wdLine, Count:=15, Extend:=wdExten
Selection.Cu
Windows("Document3").Activat
Selection.Past
Windows("DEV444.TXT").Activat
End Su
russelworker
help!
Sub find2(
' find2 Macr
' Macro recorded 4/22/2004 by arbuckle
Selection.FIND.ClearFormattin
With Selection.FIN
.Text = "lvl
.Replacement.Text = "
.Forward = Tru
.Wrap = wdFindContinu
.Format = Fals
.MatchCase = Fals
.MatchWholeWord = Fals
.MatchWildcards = Fals
.MatchSoundsLike = Fals
.MatchAllWordForms = Fals
End Wit
Selection.FIND.Execut
Selection.MoveLeft Unit:=wdCharacter, Count:=
Selection.MoveUp Unit:=wdLine, Count:=
Selection.MoveDown Unit:=wdLine, Count:=15, Extend:=wdExten
Selection.Cu
Windows("Document3").Activat
Selection.Past
Windows("DEV444.TXT").Activat
End Su
russelworker