Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Why does Word add "Char" to my styles?

125 views
Skip to first unread message

Ellen Burd

unread,
Jun 3, 2003, 4:54:11 PM6/3/03
to
We use custom templates and styles routinely. Word 2002 XP
sometimes creates a new style by adding "Char" to the end
of my existing user-defined style even though (I think)
I've turned off everything I can find that gives Word
control of my styles. I've even ended up with "User-
Defined Style Char Char Char Char." Once this occurs, I
can't seem to get rid of Word's new version of my style
and go back to my original style, either.

Can't find anything in Help. Guess I don't know what to
look for. Thank you in advance for any assistance you can
offer.

Ellen Burd

Cindy Meister -WordMVP-

unread,
Jun 6, 2003, 12:52:40 PM6/6/03
to
Hi Ellen,

This will occur when you have characters, but not an entire
paragraph, selected and apply a paragraph style. Word creates
a new style of the type character and links it to the
paragraph style, masking it.

The only way to avoid it is to make sure you select only
entire paragraphs (or no characters) when applying a
paragraph style.

In order to get rid of such things without deleting the
"true" style, you need to link the "Char" styles to another,
"fake" style you can delete, using macro code:

Sub DeleteHeading2Char()
Dim styl As Word.Style, doc As Word.Document

Set doc = ActiveDocument
Set styl = doc.Styles.Add(Name:="Style1")
On Error Resume Next
doc.Styles("Heading 2 Char").LinkStyle = _
styl
styl.Delete
End Sub

> We use custom templates and styles routinely. Word 2002 XP
> sometimes creates a new style by adding "Char" to the end
> of my existing user-defined style even though (I think)
> I've turned off everything I can find that gives Word
> control of my styles. I've even ended up with "User-
> Defined Style Char Char Char Char." Once this occurs, I
> can't seem to get rid of Word's new version of my style
> and go back to my original style, either.
>

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jan
24 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :-)

Ellen Burd

unread,
Jun 6, 2003, 6:09:12 PM6/6/03
to
I'd begun to suspect that that might be the cause, but
still wasn't sure how to resolve it. I'll give your code a
try.

Thanks very much, Cindy!

Ellen

>.
>

0 new messages