![]() |
|
#1
|
|||
|
|||
|
For some reason, Word shows a different behavior when I run a macro and when I execute the steps in the macro manually.
When I select everything (CTRL + A) in my document and uncheck "don't add space between paragraphs of the same style", it works for all paras. I have captured that in a macro: Selection.WholeStory With Selection.ParagraphFormat .SpaceBefore = 11 .SpaceBeforeAuto = False .SpaceAfter = 11 .SpaceAfterAuto = False .LineSpacingRule = wdLineSpace1pt5 .LineUnitBefore = 0 .LineUnitAfter = 0 .WordWrap = True End With End Sub When I run the macro, it does NOT work for all paragraphs. It appears that paragraphs with the style "List paragraph", with multilevel bullets, are not affected by the macro instruction. But if I replicate the macro steps personally, all the paras are affected. There is no section break in the document. Any idea what's going on? Thanks, Jay |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
autocorrect double space to single space
|
frankjake | Word | 8 | 09-21-2018 05:44 PM |
| Config style to restart numbering if it it comes after a style of a higher level | ghumdinger | Word | 7 | 08-31-2011 01:10 AM |
| distorted last para lines when justifying | RSF | Word | 0 | 08-18-2011 10:11 PM |
Is this a Tab space or Indentation space?
|
Jamal NUMAN | Word | 1 | 06-30-2011 05:09 PM |
Tables that carry hidden para styles
|
Ulodesk | Drawing and Graphics | 4 | 03-10-2011 08:16 AM |