hexOffender
Programmer
I need to remove a hard return that was placed on each line of a word doc.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
With Selection.Find
.Text = vbCrLf
.Replacement.Text = String.Empty
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
Dim s as string
'fill string from txt file via streamreader
s.remove(controlchars.crlf)