Hi All,
I've been trying to replace some marker text "*LINEFEEDGOESHERE*" with an actual line feed.
To do this I am attempting a replaceall, replacing the text with the control characher required. However, when I run it, the control charachter seems to be there, but it isn't doing what it's supposed to. ie, there is a little box there, rather than moving to the next line. Any ideas?
Code
'Get rid of all the linefeed words
With Selection.Find
.Text = " *LINEFEEDGOESHERE* "
.Replacement.Text = vbNewLine
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
Display More
Cheers,
Jim