View Single Post
 
Old 01-23-2018, 06:52 AM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,106
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

In that case you will have to tap the space bar three times, because text (which is what spaces are) is not included in a style. Or you could ignore the spaces and apply the spaces to text in the normal style with a macro or the replace function e.g.

Code:
Sub Macro1()
Dim oPara As Paragraph
    For Each oPara In ActiveDocument.Paragraphs
        If oPara.Style = "Normal" Then
            Do While oPara.Range.Characters(1) = Chr(32)
                oPara.Range.Characters(1).Delete
            Loop
            oPara.Range.InsertBefore "   "
        End If
    Next oPara
lbl_Exit:
    Set oPara = Nothing
    Exit Sub
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote