Excel prompts you to open the file. xls format and file name extension inconsistent how to do?

Source: Internet
Author: User

When you open a file, you are prompted that the format of the file Xxx.xls you are trying to open is inconsistent with the format specified by the file name extension. Before opening the file, verify that the file is not corrupted and that the source is trustworthy. Do you want to open the file now?, or reload after you uninstall Office 2007. What's the reason? The warning message is that a user notification function has been added to Excel 2010/2007. Warning messages help prevent unexpected problems that may occur because the actual content of the file and the file name extension may be incompatible.

Method One:

1, when you open an Excel, you will have the following prompts

2, see the Warning box, the default is let us choose No, in fact, as long as the choice is, you can view

Method Two: Modify the registry to resolve

1. Open Registry Editor

Method: Start-> run-> input regedit-> OK

2, find the registry subkey

Hkey_current_usersoftwaremicrosoftoffice12.0excelsecurity

3, in the right margin, click the right mouse button, select "New-> DWORD Value (D)", enter "extensionhardening" click OK.

4, with the right mouse click Extensionhardening, and then click "Modify (M)", in the numerical data to fill in "0" can be determined.

5, close the Registry Editor, open the XLS again to see if the hint is not gone?

Small knowledge: The data setting of the value set by extensionhardening:

* 0: Do not check the file name extension and file type and bypass the function's warning message.

* 1: Check file name extension and file type. If they do not match, a warning message is displayed.

* 2: Check file name extension and file type. Do not open the file if they do not match.

Note: Sometimes you can look at the warning box "help" to learn more about the situation in the plan.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.