Reply
 
Thread Tools Display Modes
  #1   Report Post  
Stefan Blom
 
Posts: n/a
Default

You can use the wdBuiltinStyle constants. For example, the
Normal style can be referenced by wdStyleNormal:

Debug.Print ActiveDocument.Styles(wdStyleNormal).NameLocal

would print to the Immediate Window (Direktfönstret) the
local name of the Normal style (which is "Normal" in English
and Swedish).

For a list of all wdBuiltinStyle constants look in the
Object Browser (Objektgranskning) in the Visual Basic
Editor.

--
Stefan Blom


"Jan Holmbom" wrote in message
...
When starting up a MS/Word document in a Swedish version

the default
startup Style for a new document will be "Normal". This is

the case
for many language versions of the program. But for others

the default
style will be named different f.i. "Standard".

If you in VBA-code refer to the style by name and uses

"Normal" you
will run into problem in those versions. So my question

is:

Is there an other way to refer to the default style else

then by its
name in VBA?


Best Regards/Jan Holmbom




  #2   Report Post  
Jan Holmbom
 
Posts: n/a
Default Styles templates in a MultiLanguage environment

When starting up a MS/Word document in a Swedish version the default
startup Style for a new document will be "Normal". This is the case
for many language versions of the program. But for others the default
style will be named different f.i. "Standard".

If you in VBA-code refer to the style by name and uses "Normal" you
will run into problem in those versions. So my question is:

Is there an other way to refer to the default style else then by its
name in VBA?


Best Regards/Jan Holmbom
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Styles in Word 2003 Jessy Microsoft Word Help 2 February 1st 05 11:49 AM
A fixed amount of Styles? +-Steve-+ New Users 5 January 22nd 05 11:25 PM
Can a style become font-neutral? F A L Page Layout 5 December 3rd 04 01:12 PM
Templates in too many languages. Only need English. capt_dalton Microsoft Word Help 0 December 2nd 04 10:29 PM
Importing Styles Charles Kenyon New Users 0 November 24th 04 11:38 PM


All times are GMT +1. The time now is 08:40 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"