Hi Dennis
I can understand that you are frustrated that Word's feature to constrain
users to using certain styles does not prevent their adding a nickname to a
style.
I wonder if this would help.
All the built-in styles have a enumerated value that is (a) independent of
the local name of the style (and by "local" I mean the language of Word:
"Heading 1" isn't "Heading 1" in, say, Swedish) and (b) independent of any
short or nickname that a user may have given it.
So your code can refer to, say, ActiveDocument.Styles(wdHeading1) without
needing to know the local name of the style. That makes for more robust
code, because it will run no matter what language version the user has, and
what nickname the user may have given to a style.
You can get a full list of the enumerated values at View > Object Browser
(search for wdStyle).
For what it's worth, I often observe that nicknames get added to a style in
a document when people copy and paste text from another document (where that
'other document' has given a nickname to a style). It's impossible for a
user to detect that they are about to paste text into their Word document
that will add a nickname to a style. And Word does not see this as violating
the constraint to use certain styles.
Hope this helps.
Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word