Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting the language for a template

Status
Not open for further replies.

mdav2

Programmer
Aug 22, 2000
363
GB
I have a template where the language is set to no proofing. If I set the language to UK (british) as default I get a message that all documents based on this template will have that as its language. However, when I run or open the template the language is set back to no proofing for both the template and the document.

I know that the normal.dot file holds this sort of information and if the language is set on a blank document (based on the normal.dot) then the langauge is then set for all future documents.

The options I have are:

1) Use VB to set the templates language

' Set the language to English as the default
ActiveDocument.AttachedTemplate.LanguageID = wdEnglishUK
Selection.LanguageID = wdEnglishUK

This code is OK and works but prompts the user to save the template each time it is used.

2) Re-do the template using a blank document that has the language set already. This will involve all the Bookmarks, Formatting etc to be transferred which is very time consuming.

Is there any other way that the template path can be set or any easier way to get around this problem?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top