Home  >  Article  >  Topics  >  New xls file prompts that the extension is inconsistent

New xls file prompts that the extension is inconsistent

王林
王林Original
2019-12-23 13:22:534626browse

New xls file prompts that the extension is inconsistent

We need a normal blank excel document named "EXCEL.xls".

First we create a new EXCEL document through the desktop. It does not matter whether the format (xls or xlsx) and the document are correct. Then open the excel document we just created and select File\Save As: file name "EXCEL", file type "Excel 97-2003 Workbook (*.xls)", and save location "Desktop".

Then close the excel document, return to the desktop and try opening the "EXCEL.XLS" you just saved. If the document is normal, proceed to the next step.

New xls file prompts that the extension is inconsistent

Copy "XECEL.xls" to the directory "C:\Windows\ShellNew\".

After completing this step, we can try right-clicking on the desktop to create a new *.xls. If the document is normal, please ignore the following steps.

New xls file prompts that the extension is inconsistent

In this step we open the Registry Editor, open "Run" by Start\Run or Windows key R key, type "regedit" and press Enter to open the Registry Editor .

New xls file prompts that the extension is inconsistent

Find and expand HKEY_CLASSES_ROOT\.xls\Excel.Sheet.8\ShellNew in turn, right-click on the blank space on the right\New\String Value, type the name "FileName" and Press Enter, double-click the string "FileName", type the numerical data "EXCEL.xls" and press Enter. Finally, press the F5 key to refresh and close the Registry Editor and you are done.

New xls file prompts that the extension is inconsistent

New xls file prompts that the extension is inconsistent

Copy the following paragraph directly to Notepad, change the extension to .reg, save and double-click to run it, if prompted, directly Sure.

This is also the solution to the problem that there is no "New Microsoft Excel 97-2003 Worksheet" in the desktop right-click menu\New.

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.xls\Excel.Sheet.8\ShellNew]
"FileName"="EXCEL.xls"

Cannot see the extension. Open any folder\Tools\Folder Options\View\Hide extensions for known file types and remove the previous hook.

New xls file prompts that the extension is inconsistent

New xls file prompts that the extension is inconsistent

Recommended related articles and tutorials: excel tutorial

The above is the detailed content of New xls file prompts that the extension is inconsistent. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn