"Cannot find the file" error message when you open Excel files from outside of Excel

Symptoms

When you attempt to open Microsoft Excel files from outside of Excel, you may receive an error message similar to the following:
Cannot find the file
filename.XLS (or one of its components).

Make sure the path and file name are correct and that all required libraries are available.

Cause

This behavior can occur when Excel is not properly registered.

Resolution

To resolve this issue, follow these steps:
  1. Quit Excel and all other programs.
  2. Click Start, and then click Run.
  3. Type excel /unregserver, and then click OK.
  4. Click Start, and then click Run.
  5. Type excel /regserver, and then click OK.
  6. Start Excel.
  7. Quit Excel.
These steps unregister and then re-register Excel.

References

291288 Startup switches for Microsoft Excel

Propriedades

ID do Artigo: 296055 - Última Revisão: 31 de jan de 2007 - Revisão: 1

Comentários