![]() |
#4
|
||||
|
||||
![]()
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 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
meileetan | Word | 7 | 06-07-2013 01:09 AM |
![]() |
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 |