A family of Microsoft word processing software products for creating web, email, and print documents.
I did. it made the paragraph break at the first space after the 25th character
Which is essentially what your first post in this thread depicts - except that:
"The quick Brown Fox Jumps over
is actually 31 characters, which is more than even the Find/Replace would have given.
I don't believe you can use Find/Replace to limit word-based strings to a given number of characters. You can do so, however, with a macro such as:
Sub Demo()
Application.ScreenUpdating = False
With ActiveDocument.Range
With .Find
.ClearFormatting
.Replacement.ClearFormatting
.Text = "<*{25}>"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindStop
.Format = False
.MatchWildcards = True
.Execute
End With
Do While .Find.Found
While .Characters.Count > 25
.MoveEnd wdWord, -1
Wend
.InsertAfter Chr(11)
.Collapse wdCollapseEnd
.Find.Execute
Loop
End With
Application.ScreenUpdating = True
End Sub