Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my Microsoft Word 2010 document I have two paragraph styles: Normal and Subject. Subject has "Style based on" set to Normal (inherits from Normal). In Normal, I have configured a 12pt gap after each paragraph and Subject inherited this rule just fine.

Then I accidentally added a space-after-paragraph rule to Subject, too. This means that Subject no longer "inherits" its space-after-paragraph setting from Normal, meaning that if I change the setting on Normal, I will have to change it on Subject as well.

I'd like to remove the space-after-paragraph setting from Subject so that it once again inherits that value from Normal. Is this possible? If so, how?

I tried deleting the value (12pt), hitting OK, Enter but the setting just reverts to 12pt (overriding the value set in Normal). Short of re-creating the Subject style from scratch I don't know how to solve this.

Thanks

share|improve this question
    
Would setting space-after to "Auto" in your Subject style work? – Adam Dec 3 '12 at 10:06
    
@Adam no, setting it to "Auto" did not work (tried it). I believe "Auto" means "use font size/line height as space-after". – SealedSun Dec 3 '12 at 11:58
up vote 3 down vote accepted

Turns out there is already an article about this very topic (down to the space-after property being used as an example) available on the word.mvps.org website.

The general idea is you need to use a VBA macro once to clear the formatting. Microsoft Word would benefit from such feature included in the GUI.

Dim oStyle As Style
Set oStyle = ActiveDocument.Styles("Subject")
oStyle.ParagraphFormat.SpaceAfter = oStyle.BaseStyle.ParagraphFormat.SpaceAfter
share|improve this answer
    
Interesting, will try this when I get home, thanks :) – SealedSun Dec 5 '12 at 6:04
    
Seems to work, but that's not really a solution that people can use every day. That's naturally not your fault, so I'll accept your answer nonetheless. – SealedSun Dec 10 '12 at 22:09
    
Thanks. You can add the macro to GUI by adding it to the quick access toolbar. See this link for further details: gregmaxey.mvps.org/word_tip_pages/add_macro_to_qat.html This is the best you will get :) – Adam Dec 10 '12 at 22:32
    
Hm… right, and then I just have to write a GUI that takes a style and setting name and… Maybe next year XD – SealedSun Dec 10 '12 at 22:43
    
2.5 yrs later, is this still the best option? – dualed Mar 18 '15 at 15:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .