View Single Post
 
Old 07-16-2019, 08:44 AM
gmaxey gmaxey is offline Windows 10 Office 2016
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

Macros don't press enter.

With a macro, you can change ". " to a period followed by a paragraph:

Code:
Sub ScratchMacro()
'A basic Word macro coded by Greg Maxey
Dim oRng As Range
  Set oRng = ActiveDocument.Range 'or select the text to process and change to Selection.Range
  With oRng.Find
    .Text = ". "
    While .Execute
      oRng.Text = "." & vbCr
      oRng.Collapse wdCollapseEnd
    Wend
  End With
lbl_Exit:
  Exit Sub
End Sub

Now, if after doing that, you want to put it back like it was then what is the point of doing anything in the first place?
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote