Why is reapplying style different from applying style

A

Al

I have a question that may not be VBA related but this is where you real
experts are and I did not get a good answer in another group.

Must I lose Font (character) formatting when reapplying style??
I have superscripts (exponents). When I change style of the paragraph from
Normal to Text they remain. However, if I reapply Text style to the
paragraph, the superscripts become normal text. (Text is a paragraph style.
It is defined: Normal + Line spacing: at least 14 pt Space before: 6 pt).
This occurs on the second application of all styles EXCEPT Normal.
Reapplying Normal retains the superscripts. If I make a word italics and
apply Heading 4, the italics remain. If I apply Heading 4 again, the
italics disappear. How do I make the other styles act like Normal and not
lose character formatting when reapplied?
I am using Word 2002
 
K

Klaus Linke

Hi Al,

Sorry for not getting back to you in that other group.

I guess you select the paragraph before you apply the style?
You won't have the problem if you don't select it... and that's why I never ever noticed it.

I hate the way the programmers have added all kinds of AutoFormatting gizmos to the simplest commands.
If I record applying some style to a selected paragraph twice, I get
Selection.Style = ActiveDocument.Styles("Heading 4")
Selection.Style = ActiveDocument.Styles("Heading 4")
and the formatting isn't lost (?!?).
No idea at all why someone at MS thought it would make sense to remove manual formatting the second time around.

And there's probably no hidden setting to change that weird behaviour. But since selecting the paragraph is additional work anyway, maybe you can get used to not doing that?

Greetings,
Klaus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top