0% found this document useful (0 votes)
326 views

Excel Registry

Excel stores its settings and customizations in the Windows Registry. To reset Excel to its default settings, you can delete the relevant Registry keys. There are two main methods: 1. Use the Registry Editor to navigate to the Excel key under HKEY_CURRENT_USER\Software\Microsoft\Office and delete the "Options" subkey. This will force Excel to recreate the key with default settings. 2. Uninstall and reinstall Microsoft Office using the Support and Recovery Assistant tool. This completely removes all Excel customizations and reinstalls the default Office installation. Either method will reset Excel's user interface, settings, and behavior to the original defaults without requiring modifications within Excel itself.

Uploaded by

Rajesh Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
326 views

Excel Registry

Excel stores its settings and customizations in the Windows Registry. To reset Excel to its default settings, you can delete the relevant Registry keys. There are two main methods: 1. Use the Registry Editor to navigate to the Excel key under HKEY_CURRENT_USER\Software\Microsoft\Office and delete the "Options" subkey. This will force Excel to recreate the key with default settings. 2. Uninstall and reinstall Microsoft Office using the Support and Recovery Assistant tool. This completely removes all Excel customizations and reinstalls the default Office installation. Either method will reset Excel's user interface, settings, and behavior to the original defaults without requiring modifications within Excel itself.

Uploaded by

Rajesh Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 14

Change Excel options directly in the Registry

This video shows us the method to block the formula bar,


scroll bars and the status bars in Excel.

Click on 'Search' on Taskbar.

Type 'regedit'. And click on “Registry Editor“ or 'regedit'

Registry Editor Window will be opened.

Go to 'HKEY_CURRENT_USER'.

Open it and go to 'Software' and 'Microsoft'.

Expand it and go to 'Office' and open the version of Office on


your computer.

Expand it and go to Excel. Choose the options folder.

Go to the 'Options' item, if available or create new DWORD(32


bit), and right click on it.

Go to 'Modify' and type 150 in the text box.

Click on 'OK'.

Now restart the Excel and you can see that the formula bar,
scroll bars and the status bars have been blocked.

You can unblock it by typing 57 in the text box opened


previously. This finishes the task.

Video and Resource Link:-


https://ms-office.wonderhowto.com/how-to/change-excel-options-directly-registry-352389/

Excel Settings in the Registry


The Excel Options dialog box has dozens of user -specified options. Excel uses the
Windows Registry to store these settings and retrieve them when Excel is started. In this
section, I provide some background information about the Windows Registry and
discuss how Excel uses the Registry to store its settings.
About the Registry
The Windows Registry is essentially a central hierarchical database that is used by the
operating system and by application software. The Registry first appeared in Windows
95 and replaces the old INI files that stored Windows and application settings.

CROSS-REFERENCE Your VBA macros can also read and write information to the Registry.
Refer to Chapter 11 for details.
You can use the Registry Editor program to browse the Registry - and even edit its
contents if you know what you're doing. The Registry Editor is named regedit.exe .
Before beginning your explorations, take a minute to read the upcoming sidebar (titled
"Before You Edit the Registry "). Figure 4-9 shows what the Registry Editor looks like.

Figure 4-9: The Registry Editor lets you browse and make changes to the Registry.

The Registry consists of keys and values, arranged in a hierarchy. The top-level keys
are:

o HKEY_CLASSES_ROOT

o HKEY_CURRENT_USER

o HKEY_LOCAL_MACHINE

o HKEY_USERS

o HKEY_CURRENT_CONFIG

o HKEY_DYN_DATA

Excel's settings
Information used by Excel 2007 is stored in this Registry section:

HKEY_CURRENT_USER\Software\Microsoft\Office.0\Excel
Before You Edit the Registry

You can use the regedit.exe program to change anything in the Registry, including
information that is critical to your system's operation. In other words, if you change the
wrong piece of information, Windows may no longer work properly.

Get into the habit of choosing the File Export command in Regedit. This command
enables you to save an ASCII version of the entire Registry or just a specific branch of
the Registry. If you find that you messed up something, you can always import the ASCII
file to restore the Registry to its previous condition (choose the Registry Import
Registry File command). Refer to the Help file for Regedit for details.

In this section of the Registry, you'll find a number of keys that contain specific values
that determine how Excel operates.

The Registry settings are updated automatically by Excel when Excel closes .

Note It's important to understand that Excel reads the Windows Registry only once - when it
starts up. In addition, Excel updates the Registry settings only when Excel closes
normally. If Excel crashes ( unfortunately , not an uncommon occurrence), the Registry
information is not updated. For example, if you change one of Excel's settings, such as
the visibility of the Formula bar, this setting is not written to the Registry until Excel
closes by normal means.
Table 4-6 lists the Registry sections that are relevant to Excel 2007. You might not find
all these sections in your Registry database.

Table 4-6: EXCEL CONFIGURATION INFORMATION IN THE REGISTRY


Open table as spreadsheet

Section Description
Add-in Lists add-ins that appear in the Add-Ins dialog box. Add-ins that are included
Manager with Excel do not appear in this list. If you have an add-in entry in this list box
that you no longer use, you can remove it by using the Registry Editor.
Converters Lists additional (external) file converters that are not built into Excel.
Error Holds the settings for formula error checking.
Checking
File MRU Holds information about the most recently used files (which appears in the
Recent Documents list when you click the Office button).
Options A catch-all section; holds a wide variety of settings.
Recent Stores the names of templates you've used recently.
Templates
Resiliency Information used for recovering documents.
Security Specifies the security options for opening files that contain macros.
Spell Stores information about your spelling checker options.
Table 4-6: EXCEL CONFIGURATION INFORMATION IN THE REGISTRY
Open table as spreadsheet

Section Description
Checker
StatusBar Stores the user choices for what appears in the status bar.
UserInfo Stores information about the user.
Although you can change most of the settings via the Excel Options dialog box, a few
settings cannot be changed directly from Excel (but you can use the Registry Editor to
make changes). For example, when you select a range of cells, you may prefer that the
selected cells appear in high contrast white-on-black. There is no way to specify this in
Excel, but you can add a new Registry key like this:

1. Open the Registry Editor and locate this section:

HKEY_CURRENT_USER\Software\Microsoft\Office.0\Excel\Options
2. Right-click and select New DWORD Value.

3. Name this value Options6 .

4. Right-click the Options6 key and select Modify.

5. In the Edit DWORD Value dialog box, click the Decimal option and enter 16 (see
Figure 4-10).

Figure 4-10: Setting a value for a Registry setting.

When you restart Excel, range selections will appear with a black background rather
than gray. If you don't like this look, just delete the Options6 Registry entry.

Tip If you have trouble starting Excel, it's possible that the Registry keys have become
corrupt. You can try using the Registry Editor to delete the entire Excel section:

HKEY_CURRENT_USER\Software\Microsoft\Office.0\Excel
The next time Excel is started, it will rebuild the Registry keys. You will, however, lose all
of the customization information that was stored there.

https://flylib.com/books/en/3.428.1.57/1/
How To Reset Excel To Default Settings
Author: Konstantinos Tsoukalas , Last updated: November 28th,
2022

Sometimes Microsoft Excel may not work properly due to user


modifications or changes made by other programs. In these cases, the
easiest way to restore Excel functionality is to reset it to the factory
default settings.
In this tutorial, you will find two methods with detailed instructions on
how to reset Excel to default settings, in order to remove any
modifications made by you or by others.

How to Restore EXCEL Default Settings.


Method 1. Reset Excel settings from Registry.
Like many programs, Excel saves all settings and modifications made
in the registry. To remove the stored Excel Settings from Registry in
order to force Excel to load with the default settings, proceed as
follows:

1. Close Excel.

2. Press Windows + R keys to open the run command box.


3. Type regedit and press Enter.

4. In Registry Editor navigate to the following key, according your


Office version:

 Excel 2007: HKEY_CURRENT_USER\Software\Microsoft\


Office\12.0\Excel
 Excel 2010: HKEY_CURRENT_USER\Software\Microsoft\
Office\14.0\Excel
 Excel 2013: HKEY_CURRENT_USER\Software\Microsoft\
Office\15.0\Excel
 Excel 2016, 2019 & Office 365: HKEY_CURRENT_USER\
SOFTWARE\Microsoft\Office\16.0\Excel
5. Finally, expand the Excel key and select
and delete the Options subkey.
* Note: When prompted click Yes to confirm your decision. (this will
force Excel to recreate the "Options" registry key at the next run with
the default settings)

6. Close the Registry Editor.


7. Open Excel and you're done.
Method 2. Uninstall & Re-Install Microsoft Office.
The second and final step, to fix Excel problems is to completely
uninstall and reinstall MS Office.

1. Download the Microsoft Support and Recovery Assistant


(SARA) utility.
2. When the download is completed double click to run
the SetupProd_OffScrub.exe application.
3. Click Install to install the SARA utility.
4. When the installation is completed, click Agree and then click Yes.

5. Wait until the 'Microsoft Support and Recovery Assistant'


troubleshooting the issue.
6. Select the checkbox, at the left of the Office product name to select
all the installed Office products and click Next.
7. Now wait until the Office removal process is complete and when this
is done, restart your computer.
8. After restart, proceed and reinstall Office by following the
instructions from these links:
 Office 365
 Office 2019
 Office 2016
 Office 2013
That's all folks! Did it work for you?
Please leave a comment in the comment section below or even better:
like and share this blog post in the social networks to help spread the
word about this problem.

Resource Link:- https://www.repairwin.com/how-to-reset-excel-to-default-settings/


Registry keys that control the File
Repair feature in Excel
 Article
 05/05/2022
 5 contributors
 Applies to:
Excel 2007, Excel 2003, Excel 2002

Feedback

In this article
1. Summary
2. More information
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, see Description of the Microsoft Windows
registry.

Summary

Microsoft Excel contains a feature that allows you to recover data from corrupted
workbooks. This article describes how to use the registry to override the default
behavior when Excel tries to recover data.

More information

When you open a workbook in Excel, Excel checks for problems in the workbook. If
Excel detects a problem in a workbook, the data recovery process begins
automatically.

Note

You can also manually start the data recovery process. To do this, click Open on
the File menu, click the arrow on the Open button, and then click Open and Repair.

All the registry values that affect data recovery are in the following registry subkeys,
depending on which version of Excel you are running:
Microsoft Excel 2002

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\10.0\Excel\Options

Microsoft Office Excel 2003

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Excel\Options

Microsoft Office Excel 2007

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Excel\Options

These subkeys contains three DWORD registry values that you can modify as follows.

Note

In these subkeys, 2 is always the default value, and 1 is the only other valid value.

ExtractDataMode

If ExtractDataMode equals 2 (or a value that is not valid), Excel assumes that the
structure of the workbook is not corrupted. Therefore, Excel tries to recover the
whole workbook, including formulas, formatting, and Microsoft Visual Basic for
Applications (VBA) projects.

If ExtractDataMode equals 1, Excel assumes that the structure of the workbook is


corrupted. Therefore, Excel does not try to recover anything other than the data in
the workbook.

To change the value from 2 to 1, follow these steps.

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.

1. Start Registry Editor.

2. Locate the following registry subkey, as appropriate for the version of Excel that
you are running:

Excel 2002
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\10.0\Excel\
Options

Excel 2003

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Excel\
Options

Excel 2007

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Excel\
Options

3. In the list of registry entries, double-click ExtractDataMode.

4. Type 1in the Value data field, and then click OK.

ExtractDataFormulas

If ExtractDataFormulas equals 2 (or a value that is not valid), Excel tries to recover
formulas and converts a formula to a value if recovery does not succeed.

If ExtractDataFormulas equals 1, Excel recovers as much of the formula as possible,


and substitutes #REF if recovery does not succeed. This value also affects the default
option when you are prompted to recover formulas during the Open and Repair
process.

To change the value from 2 to 1, follow these steps:

1. Start Registry Editor.

2. Locate the following registry subkey, as appropriate for the version of Excel that
you are running:

Excel 2002

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\10.0\Excel\
Options

Excel 2003

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Excel\
Options

Excel 2007
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Excel\
Options

3. In the list of registry entries, double-click ExtractDataFormulas.

4. Type 1in the Value data field, and then click OK.

ExtractDataDisableUI

If ExtractDataDisableUI equals 2 (or a value that is not valid), Excel prompts you with
two messages during the Open and Repair process. The first message prompts you
to choose either to repair or to extract data. The second message prompts you to
choose either to convert to values or to recover formulas.

If ExtractDataDisableUI equals 1, Excel does not offer you any options during the
Open and Repair process. Excel opens the file by using the Safe Load process. Data
extraction is still enabled through the object model and through automatic data
recovery.

To change the value from 2 to 1, follow these steps:

1. Start Registry Editor.

2. Locate the following registry subkey, as appropriate for the version of Excel that
you are running:

Excel 2002

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\10.0\Excel\
Options

Excel 2003

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Excel\
Options

Excel 2007

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Excel\
Options

3. In the list of registry entries, double-click ExtractDataDisableUI.

4. Type 1in the Value data field, and then click OK.
Resource:- Registry keys that control the File Repair feature - Microsoft 365 Apps | Microsoft
Learn

You might also like