I cannot open Excel file
Solution 1
I ran into a similar problem when going from Office 2003 to Office 2007. To fix this, edit your registry.
For Office 2007:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Security]
"AccessVBOM"=dword:00000001
"ExtensionHardening"=dword:00000000
For Office 2010:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Excel\Security]
"AccessVBOM"=dword:00000001
"ExtensionHardening"=dword:00000000
You can either manually make the above entries or copy and paste the text into Notepad and save it using the ".reg" extension. If you want to make a reg file make sure you leave a space between the first line, "Windows Registry Editor Version 5.00", and the next line, and place a space after the last line.
To save your reg file, go to File > Save As, browse to the place you want to save it and when you give it the name, enclose the name in quotes; e.g. "ExcelExtensionHardening.reg". Make sure to do all this in Notepad, not Word, WordPad, etc, as those programs will add things that make the reg file useless, and could possiblly hose your entire OS.
To apply your reg file, just double-click it.
Solution 2
Change the file extension manually from .xlsx
to .xls
and try again.
Solution 3
Open Excel, and click on the Microsoft Icon at the top left.
In the window at the bottom is "Excel Options". Click it.
Then select "Advanced" on the left side of the screen.
When the display comes up, you need to scroll almost to the bottom.
Under the blue "General" category, will be "Ignore other applications that use Dynamic Data Exchange " Make sure it is not checked.
Then Test it and see whether it works
Esam
Updated on September 17, 2022Comments
-
Esam almost 2 years
I have office 2010 installed and the file was working but suddenly when I try to open it It gives me following error
Excel cannot open the file ... because the file format or the file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file.
also I tried a program to repair it.
What can I do?
-
Rhys Gibson over 13 yearsIs it an XLSX or XLS file? Did you save it as a different file format?
-
gadgetmo over 12 yearswhich program? upload the file (if u can).
-