Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/924460

From BetaArchive Wiki

Article ID: 924460

Article Last Modified on 10/15/2007



APPLIES TO

  • Microsoft Office Ultimate 2007
  • Microsoft Office Access 2007
  • Microsoft Office Excel 2007
  • Microsoft Office Outlook 2007
  • Microsoft Office PowerPoint 2007
  • Microsoft Office Publisher 2007
  • Microsoft Office SharePoint Designer 2007
  • Microsoft Office Word 2007



For a Microsoft Office 2003 version of this article, see 889495.



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry


INTRODUCTION

This article describes the different types and locations of templates in 2007 Microsoft Office programs. Additionally, this article contains information about registry settings that control where you find custom templates.

MORE INFORMATION

2007 Office programs save all new custom templates that you create. A 2007 Office program looks in one of the following locations for the templates that belong to that program:

  • The user templates file location
  • The workgroup templates file location
  • The advertised and installed templates file location
  • The non-file-based templates file location

User templates file location

Newly created or newly modified templates are saved in a folder in your profile directory. The folders that are under your profile contain your configuration preferences and options. These folders contain everything that is needed for a roaming user profile.

By default, user templates files are stored in the following location:

C:\Documents and Settings\user name\Application Data\Microsoft\Templates


Note You can change the location of user templates files.

How to change the location in which templates are saved

You can use Microsoft Office Word 2007 to change the location in which your new templates are saved. To do this, follow these steps.

Note If you use Word 2007 to change the location in which your new templates are saved, you also change the location in which all 2007 Office program templates are saved.

  1. Start Word 2007.
  2. Click the Microsoft Office Button, and then click Word Options.
  3. Click Advanced.
  4. Under General, click File Locations.
  5. Click User templates, and then click Modify.
  6. In the Modify Location dialog box, change the setting in the Folder name list or the Look in list to the folder in which you want to save your new templates. Then, click OK.
  7. Click OK or Close to close the Options dialog box.

The changed path is noted in the Windows registry. The path is used the next time that you want to save a new template. For more information, see the "Changes in the Windows registry settings for the user templates file location and for the workgroup templates file location" section.

Note Your network administrator can change the location in which your new templates are saved by using the policy templates that are included with the 2007 Microsoft Office Resource Kit. For more information, contact your network administrator.

You can also create custom tabs that appear in the Templates dialog box by creating a new folder in the Templates folder in your profile. Tabs that have the same name as a new folder appear in the Templates dialog box. These tabs let you categorize your new templates even more.

The following template options are available when you click the Microsoft Office Button, and then click New.

Note There are more templates available in the Microsoft Office Online area.

In Access 2007
  • Blank Database
In Excel 2007
  • Installed Templates
  • My templates
  • New from existing
  • Blank and recent
In PowerPoint 2007
  • Installed Templates
  • My templates
  • New from existing
  • Blank and recent
  • Installed Themes
In Word 2007
  • Installed Templates
  • Blank and recent
  • My templates
  • New from existing

Note Microsoft Office Publisher 2007 and Microsoft Office SharePoint Designer 2007 do not use the same user interface as the previously listed 2007 Office programs.

In Publisher 2007
  • On the File menu, click New, and then click one of the publication types.
In SharePoint Designer 2007
  • On the File menu, click New, and then click one of the templates.

Workgroup templates file location

The templates that are saved in this location are basically the same as the templates that are saved in your user templates file location. However, the location is typically a shared folder on a network drive.

Note Your network administrator may set a shared location as a source from which to provide templates that are used throughout your workgroup or company. The workgroup template file location typically is a read-only shared folder.

In addition to looking in your default user templates file location for existing templates, 2007 Office programs look in the workgroup templates file location for more templates.

For more information about the workgroup templates file location and about how to share a template with your workgroup or your company, contact your network administrator.

Advertised and installed templates file location

Advertised templates are the templates that are included with 2007 Office programs. These templates appear in the Templates dialog box. Depending on the type of 2007 Office installation, you may not have all the templates installed on the computer. However, each 2007 Office program displays the templates as they are available in the Templates dialog box.

When you select a template, the 2007 Office program determines whether the template is installed. If the template is installed, a new document that is based on the template opens. If the template is advertised but is not installed, the program prompts you to install the template.

You can remove installed templates for Publisher 2007 by starting the 2007 Office installation program. Then, set the template group to Installed on First Use. This effectively removes the templates from the computer. Then, the templates become advertised templates again. Microsoft Office Access 2007 does not allow for templates to be advertised. However, templates can be set to Not Available in Access 2007. The other 2007 Office programs do not list templates as a separate component.

By default, all templates that are installed with Microsoft Office are installed in the following folder:

C:\Program Files\Microsoft Office\Templates\Language ID Number


Note The Language ID Number is a four-digit code that represents the language types that are currently installed. For example, the English (US) version of 2007 Office installs a 1033 folder. The Arabic version installs a 1025 folder. The German version installs a 1031 folder. 2007 Office programs support many other languages. Additionally, you can have multiple languages installed at the same time. Therefore, you may have a Templates folder that contains several language ID folders.

Non-file-based templates file location

2007 Office programs use non-file-based templates to create new workbooks, documents, databases, and slides. As the name suggests, there is no physical template from which these special files are created. Each 2007 Office program has the necessary information to create a new file of the correct type.

For example, if the Word global template (Normal.dotm) is used to create a blank document, Word uses its internally stored settings to create a new blank document.

Changes in the Windows registry settings for the user templates file location and for the workgroup templates file location

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

2007 Office programs use two registry keys to record the user templates file location and the workgroup templates file location. Both settings are recorded in the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common\General


The user templates location is stored in the UserTemplates string value.

The workgroup templates location is stored in the SharedTemplates string value.

These string values do not exist until you make a change to the default locations for your custom templates. By default, all 2007 Office programs look for their installed templates. Therefore, no string value is required for 2007 Office programs.

If you change the user templates file location to the default location as described in the "User templates file location" section, the UserTemplates string value is deleted from the registry. However, if you change the workgroup templates file location to the default location, the SharedTemplates string value is retained in the registry.


Additional query words: PPT2007 PowerPoint2007 XL2007 Excel2007 WD2007 Word2007 Office2007 OFF2007 Office 2007 SPD2007 PUB2007 OL2007

Keywords: kbhowto kbinfo kbtemplate kbexpertisebeginner KB924460