Excel export problem: Invalid Excel registry key

Excel export problem: Invalid Excel registry key

Warning: This action should be performed only by IT staff.
There is currently an issue with Excel where upgrading and downgrading versions doesn’t completely remove the registry keys associated with the old Excel version. 


As a result, Microsoft’s code to launch Excel from within another program, such as Edval, is tricked into believing you have a version installed which you do not. Unfortunately, attempting to launch Excel from within Edval when invalid registry keys are present will cause Edval to crash.
The error message in Edval will highlight which sub-key must be deleted from the registry:


Edval strongly advises to first take a backup of the registry key in the current state, before deleting the invalid registry key. If an issue occurs, the backup can be re-instated.
  1. Hit Ctrl+R and type “regedit” into the run box and hit ok.
  2. If you get a popup asking if Registry Editor can make changes to your computer, click “Yes”
  3. Copy and paste the following key into the search box at the top of the Registry Editor window:
    Computer\HKEY_CLASSES_ROOT\TypeLib\{00020813-0000-0000-C000-000000000046}
  4. Export the key as back up: Right click the key and click “Export”.
    Choose a destination to save the key backup and press Save.
    Note: Export the whole folder, not the individual key in the format “1.x”


  5. Delete the sub-key: Right click the invalid sub-key (as identified in the Edval error message) and click “Delete” and “Yes”.  Ensure you are deleting the key which Edval identified as invalid.
    Note: Delete the sub-key which is in the format “1.x”, not the whole folder.

  6. Check and see if Excel launches both from Edval and independently.
Restore keys from the backup
if Excel does not launch either from Edval or independently, the exported keys can be re-instated.
  1. Hit Ctrl+R and type “regedit” into the run box and hit ok.
  2. If you get a popup asking if Registry Editor can make changes to your computer, click “Yes”
  3. Click File > Import and navigate to where you saved your backup file. Select it and press “Open”