In order to be able to switch to another language version of Word, you need
a language pack.
When reading your post, I tried to think of a way to create a list that
includes the English style names together with the style names of the Word
version installed on the individual user’s PC. I have now made a Word
document that contains a table and a couple of macros. You can double-click a
button in the document in order to fill the local style names into a column
of the table. The table also holds the corresponding English style names plus
the constant values that can be used in macros in VBA.
I will make the document plus a description available from my website. I
have not had the time to make that page ready yet but you can download the
Word document via the link below. Save the document on your PC.
Please note that you need to enable macros when you open the document in
order to be able to use the functionality in the document. I have tested the
document in Word 2003 and Word 2007 and it works here.
If you do not have access to the language version for which you want to
retrieve the styles names, you may send a copy of the document to somebody
who has that version and ask him/her to run the macro, save the document and
return it to you.
Later, I may be able to make a list available that is pre-completed with the
style names in a number of languages.
Download link:
http://www.thedoctools.com/downloads/Create-List-Of-BuiltIn-Styles_DocTools.doc
--
Regards
Lene Fredborg - Microsoft MVP (Word)
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word
--
Enjoy,
Tony
"Alison Sanders" <Alison...@discussions.microsoft.com> wrote in message
news:3FA116AD-40C4-4487...@microsoft.com...
It is a problem in some situations, e.g. when using StyleRef fields. When a
StyleRef field needs to refer to a heading style, you can handle it by
including the heading number only instead of the full style name, e.g. {
StyleRef 1 } instead of { StyleRef "Heading 1" }. The latter would result in
an error if the user has another language version than English. But for
other styles, you do not have the same option - you need the correct style
name as it appears in the GUI.
I included the VBA constant values plus the English style names in the
solution described in my previous post.
--
Best regards
Lene Fredborg
Microsoft MVP (Word)
DocTools - Denmark
"Tony Jollans" <My forename at my surname dot com> skrev i en meddelelse
news:u$Y96%23vXKH...@TK2MSFTNGP05.phx.gbl...
It really is time Microsoft addressed this kind of issue. I haven't checked
recently but Excel has similar issues - for example, cell formulae are
tokenised but, if I remember, formulae in conditional formatting rules are
held as text.
--
Enjoy,
Tony
"Lene Fredborg" <l...@thedoctools.com> wrote in message
news:eCU62XwX...@TK2MSFTNGP05.phx.gbl...
From the page, you can also download the Word document linked in my previous
post.
--
Regards
Lene Fredborg - Microsoft MVP (Word)
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word