Microsoft KB Archive/288363

= HOW TO: Remove Template Listings in Excel =

Article ID: 288363

Article Last Modified on 6/8/2005

-

APPLIES TO


 * Microsoft Excel 2002 Standard Edition

-



This article was previously published under Q288363



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

IN THIS TASK
SUMMARY
 * Save Existing Registry Information
 * How to Remove a Template from the MRU List
 * How to Remove a Template from the Templates List in the Task Pane

REFERENCES



SUMMARY
This article describes how to remove recently used templates from the Most Recently Used (MRU) files list on the File menu and from the New from template list in the New Workbook task pane.

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

back to the top

Save Existing Registry Information
 Quit all Microsoft Office programs. Start Registry Editor (Regedit.exe). Click to expand the following subkey in the registry:

HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Excel

 On the Registry menu, click Export Registry File.

The Export Registry File dialog box appears. In the File name box, type C:\Export to Excel, and then click Save.

back to the top

How to Remove a Template from the MRU List
 Click Recent Files.</li> In the Name list, click File , where File  corresponds to the template file in the Data list that you want to remove.

NOTE: The values in the Name list are displayed in numerical order.</li> On the Edit menu, click Delete, and then click Yes on the Confirm Value Delete message box.</li> Rename any values in the Name list that are not in numeric order. To do so, follow these steps:  In the Name list, right-click the value that you want to rename.</li> On the shortcut menu that appears, click Rename.</li>  Edit the number at the end of File  to place the values in numerical order.

NOTE: The list should appear similar to the following: <pre class="fixed_text">  Name        Data (Default)  {value not set} File1      &quot;C:\My Documents\myworksheet.xls&quot; File2      C:\WINDOWS\Application Data\Microsoft\Templates\mytemplate2.xlt&quot; File3      &quot;C:\WINDOWS\Application Data\Templates\mytemplate3.xlt&quot; </li></ol> </li></ol>

back to the top

How to Remove a Template from the Templates List in the Task Pane
 Click Recent Templates.</li> In the Name list, click the Template  value that corresponds to the template in the Data list that you want to remove.

NOTE: The values in the Name list are displayed in alphanumeric order.</li> On the Edit menu, click Delete, and then on the Confirm Value Delete message box, click Yes.</li> Click the Friendly  value that has the same number as that of the Template  value that you removed in step 3.</li> On the Edit menu, click Delete, and then on the Confirm Value Delete message box, click Yes.</li> Rename any values in the Name list that are not in alphanumeric order. To do so, follow these steps:  <li>In the Name list, right-click the value that you want to rename.</li> <li>On the shortcut menu that appears, click Rename.</li> <li> Edit the number at the end of Friendly  or Template  to place the values in alphanumeric order.

NOTE: The list should appear similar to the following: <pre class="fixed_text">  Name        Data (Default)  {value not set} Friendly1  &quot;Balance Sheet&quot; Friendly2  &quot;&quot; Template1  &quot;C:\Program Files\MicrosoftOffice\Templates\1033\BalanceSheet.xlt&quot; Template2  &quot;C:\WINDOWS\Application Data\Templates\mytemplate2.xlt&quot; </li></ol> </li> <li>Quit Registry Editor.</li> <li>Restart the computer.</li></ol>

In the following registry subkey

HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Excel\Recent Templates

Friendly  and Template  both refer to the same template. The Friendly  Data value contains the name of the template, and the Template  Data value points to the path of that template file.

For example, if Friendly2 contains a Data value of Sales Invoice, Template2 will contain a Data value that is the path to the Sales Invoice template. <pre class="fixed_text">  Name        Data (Default)  {value not set} Friendly2  &quot;Sales Invoice&quot; Template2  &quot;C:\Program Files\Microsoft Office\Templates\1033\SalesInvoice.xlt&quot; Custom templates may have a Friendly  value that is empty. The corresponding Template  value will contain the full path to the location of that custom template. For example: <pre class="fixed_text">  Name        Data (Default)  {value not set} Friendly1  &quot;&quot; Template1  &quot;C:\WINDOWS\Application Data\Templates\mytemplate.xlt&quot;

back to the top

<div class="references_section">