D
David G. Smith
I would like to loop this macro to the end of my
Document. How would I do it? If you know how I can do it
please send me a E-Mail because I am not sure I can find
my way back here.
Sub Macro1()
'
' Macro1 Macro
' Macro recorded 8/23/2004 by David G. Smith
'
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = "1 NOTE REFN: ^#^#^#^#"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute
Selection.Delete Unit:=wdCharacter, Count:=1
Selection.Delete Unit:=wdCharacter, Count:=1
End Sub
Document. How would I do it? If you know how I can do it
please send me a E-Mail because I am not sure I can find
my way back here.
Sub Macro1()
'
' Macro1 Macro
' Macro recorded 8/23/2004 by David G. Smith
'
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = "1 NOTE REFN: ^#^#^#^#"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute
Selection.Delete Unit:=wdCharacter, Count:=1
Selection.Delete Unit:=wdCharacter, Count:=1
End Sub