Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 01-23-2018, 06:52 AM
gmayor's Avatar
gmayor gmayor is offline Paragraph style - begin with 3 spaces Windows 10 Paragraph style - begin with 3 spaces Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,144
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 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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Paragraph style - begin with 3 spaces Set style for part of paragraph meileetan Word 7 06-07-2013 01:09 AM
Paragraph style - begin with 3 spaces Removing a paragraph style from the TOC CTwriter Word 3 01-25-2013 12:38 AM
Paragraph Style for Thesis groxby Word 1 03-24-2012 04:45 AM
Huge spaces between words in a justified paragraph! techdaemon Word 2 02-22-2010 12:17 AM
Character style stripped while applying paragraph style sams_gates Word 0 08-29-2009 02:03 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:51 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft