excel cannot open the file .xlsm because the file format or file extension is not valid

Anonymous
2016-02-11T04:59:57+00:00

i am getting error excel cannot open the file xxx.xlsx because the file format 

b4 working fine after format my system its not opening 

any can help this issus

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Vijay A. Verma 104.7K Reputation points Volunteer Moderator
    2016-02-11T07:49:36+00:00

    The first step in fixing these kind of problems is to Repair the installation as you are facing problems with all Excel files not with few.

    Repair your installation by going to Control Panel > Add or Remove Programs (You can directly go there by typing appwiz.cpl in search box above Windows Start and hitting enter). When you select office, it will give you the option to repair. Do a Quick Repair.

    If repair doesn't work (in most cases, it would), let us know.

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2016-02-11T12:32:57+00:00

    hi vijay thank you replay 

    its not problem with excel only some files i am geeting error reset file all ok

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2017-08-30T05:12:13+00:00

    The first step in fixing these kind of problems is to Repair the installation as you are facing problems with all Excel files not with few.

    Repair your installation by going to Control Panel > Add or Remove Programs (You can directly go there by typing appwiz.cpl in search box above Windows Start and hitting enter). When you select office, it will give you the option to repair. Do a Quick Repair.

    If repair doesn't work (in most cases, it would), let us know.

    Hi

    This way did not work.

    I tried to repair the file too when opening, but no success.

    I got this problem , when I tried to assign a macro to my project on VBA.

    I do not a backup file and It was very complex project.

    Is there any way to recover or access the VBA codes without opening file?

    Thanks

    0 comments No comments