Hi Bear,
This might do the needful
If Instr(objPara.Style & ",", ",LN,") > 0 Then ...
This works on the basis that somewhere within your new style name with all
the
aliases is your original vale. You need to ensure that you aren't matching a
part of another alias of a different style, hence the need to add a
terminating comma to the alias list, and match for the style name with
opening and closing commas added.

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
>I use a lot of this:
>
[quoted text clipped - 14 lines]
>
> Bear
Bear - 21 Feb 2006 17:55 GMT
Jonathan:
Thanks indeed. I had actually already hit on that as an emergency workaround
method, but wondered if it was "good coding" or not.
I like the idea of incorporating the comma delimiters in the comparison.
Bear
> Hi Bear,
>
[quoted text clipped - 27 lines]
> >
> > Bear
Klaus Linke - 22 Feb 2006 15:25 GMT
If the code is supposed to work in an international environment (which might
just be some users having set the MUI version to some menu/help language
other than English), the task can become an absolute beast.
The delimiters in alias names can turn into semicolons then, built-in styles
will take on the localized names, "Char" styles can be "Zchn" or "Car"
styles or whatever, ...
And you get a mix of all those names, depending on who edited the document
at some time in the past.
I've had cases where I wasn't able to access some styles by their name at
all. With all that renaming going on behind the scenes, it turned out
impossible to find (or guess) a name that works.
:-/ Klaus
> Jonathan:
>
[quoted text clipped - 42 lines]
>> >
>> > Bear