How do I change default excel extension in Excel 2007?

07
2014-03
  • bsh152s

    I'm getting hard drive images from someone that I am tweaking with my own software. But, The image has Office 2007. I've noticed that when I try and save an Excel document, it defaults to *.xls, not the newer *.xlsx extension that I want. Now, I've searched online and everywhere I look, it says

    1. Click on the office icon.
    2. Select Excel Options button.
    3. Select Save from the left pane.
    4. Select the extension under the "Save files in this format:" drop down.
    5. Select OK.

    I do all this and doing a save will default to *.xlsx extension. However, when I close and reopen excel, it's back to square one--defaulting to *.xls. Any ideas?

  • Answers
  • Mafu Josh

    From what I understand, it may be set as part of the group policy: (see here)

    In the left pane of the Group Policy Management Console, double-click User Configuration, and then double-click Administrative Templates (Classic Administrative Templates (ADM) in Windows Vista). Then follows the following steps to set and change the default saving file format in Office 2007 programs.

    To change default file save options in Office Excel 2007

    Double-click Microsoft Office Excel 2007, double-click Excel Options, and click Save.
    In the right pane, right-click Save Excel files as, and select Properties.
    In Save files in this format, select Enabled.
    In the drop-down box, select a default file save format.
    Click Apply to save the settings.
    

  • Related Question

    Is there any way to suppress the Excel 2007 warning "in a different format than specified by the file extension"?
  • David Sykes

    We have an application that exports data using the older Office XP/2003 XML Spreadsheet format. These files are saved with a .xls extension so that they can be launched directly, without having to know the installation of Excel.

    This has worked extremely well for us up until now. However, we have just recently upgraded to Office 2007, and when we launch these .xls files directly, Excel 2007 shows a warning message:

    The file you are trying to open, 'file.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?

    I have already tried adding the location of the file to the "Trusted Locations" in Excel, but the warning message still comes.

    Is there any way to suppress this message?


  • Related Answers
  • Mehper C. Palavuzlar

    1) Exit Excel 2007.
    2) Start Registry Editor.
    3) Locate and then click the following registry subkey:

    HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Security

    4) On the Edit menu, point to New, and then click DWORD Value.
    5) Type ExtensionHardening, and then press ENTER.
    6) Right-click ExtensionHardening, and then click Modify.
    7) In the Value data box, type 0, and then click OK.

    The following list contains the value data settings that are appropriate for the ExtensionHardening setting:

    0: Do not check the file name extension and the file type, and bypass the function of the warning message.
    1: Check the file name extension and the file type. If they do not match, display the warning message.
    2: Check the file name extension and the file type. If they do not match, do not open the file.

    Note: The default value data is 1. When the value data is set to 1, the behavior becomes the same as when no registry value is set. When the value data is set to 0, the file name extension and the file content are not checked in all situations. It is not recommended bypassing this function.

    8) On the File menu, click Exit to exit Registry Editor.