+ Reply to Thread
Results 1 to 22 of 22

Open corrupted .xlsm file

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    12-02-2013
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    112

    Question Open corrupted .xlsm file

    Hi,

    Is there a way to open the corrupted .xlsm file which was recovered after a new installation of windows in the same drive.

    The message displayed when I try to open the file is as followes:

    "Excel cannot open the file 'TOTALS2.xlsm' because the file format or file extension is not valid. Verify that the file has

    not been corrupted and that the file extension matches the format of the file."

    Cheers

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Open corrupted .xlsm file

    The file has a .xlsm extention, which means it contains macros. In order to open files like that, you need to have macro's enabled on your PC - you mentioned a new install, so perhaps you need to check that?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    12-02-2013
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: Open corrupted .xlsm file

    Tried that as well but no success in opening it.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Open corrupted .xlsm file

    Can you upload it here?

  5. #5
    Forum Contributor
    Join Date
    12-02-2013
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: Open corrupted .xlsm file

    sorry, the file can't be uploaded because it contains official informations that are not supposed to be distributed.
    The problem itself is annoying as I tried converting, recovering. However the possibility exists because the file weighs the same weight as before which is 8.32 MB.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Open corrupted .xlsm file

    Not really much more I can suggest without seeing it

    Not sure if this is viable, but try changing the extension to .xlsx

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Open corrupted .xlsm file

    Not really much more I can suggest without seeing it

    Not sure if this is viable, but try changing the extension to .xlsx

  8. #8
    Forum Contributor
    Join Date
    12-02-2013
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: Open corrupted .xlsm file

    How to change the extension if it can't be opened at all?

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Open corrupted .xlsm file

    Use windows explorer

  10. #10
    Forum Contributor
    Join Date
    12-02-2013
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: Open corrupted .xlsm file

    Can you please elaborate it a bit more??

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Open corrupted .xlsm file

    Open windows explorer
    find the folder with that file in it
    find teh file in that folder
    click the file
    press F2 (edit)
    change the extension of the file to .xlsx

  12. #12
    Forum Contributor
    Join Date
    12-02-2013
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: Open corrupted .xlsm file

    Now, i know you meant renaming which is the first thing i did experimented, but wasn't even close to sort out the problem. When i try to change the extension the file got renamed with .xlsx rather than extension change. How disappointing it is to have months of work gone in few minutes.

  13. #13
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Open corrupted .xlsm file

    all may not be lost, the file is still there and we may still be able to work something out. Try renaming back to the original name, and then try to just rename the extention. You may be able to do this through the excel File Open window, as well

  14. #14
    Forum Contributor
    Join Date
    12-02-2013
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: Open corrupted .xlsm file

    If i could just rename that extension , then there might be some chance but it is not being so applicable as the file can't be opened thus there is no

    option for "open window"

  15. #15
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Open corrupted .xlsm file

    I didnt say "open window", I said "file open" window

    In other words, go through the same steps as you would, to open the file normally, except instead of double-clicking onthe file (or click the file and click OPEN), click the file once, press F2 and try and change the extension there

  16. #16
    Forum Contributor
    Join Date
    12-02-2013
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: Open corrupted .xlsm file

    Did everything as you explained , but the "file type" somehow remains the same "Microsoft Office Excel Macro-Enabled Worksheet (.xlsm)".
    To make sure i did even tried out a new workbook , but no luck.

  17. #17
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Open corrupted .xlsm file

    I did a Google search on "recover corrupted xlsm Excel file" and got several hits.

    Here is one tool that you can try (before buy) http://www.xlsmrepair.xlsrepairtoolbox.com/

    I have never used such tools so I can't give you a recommendation other than to try it on a copy if you do want to try it.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  18. #18
    Forum Contributor
    Join Date
    12-02-2013
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: Open corrupted .xlsm file

    Tool box requires the file to be changed to other formats rather than .xlsm, so couldn't be handy enough like other softwares.

  19. #19
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Open corrupted .xlsm file

    This isn't indicated in the online description, is this information in the application after download and installation? ...Just curious as I have never had to do this...always backup important files frequently.

  20. #20
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Open corrupted .xlsm file

    Assuming you are using windows, which version are you on?

  21. #21
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Open corrupted .xlsm file

    After your first failed attempt to open the file, have you been working with a copy of the file or have you been working solely with the original?

    Can you list everything that you have tried including the use of repair utilities so that we are not going over attempts that you have already tried?

  22. #22
    Registered User
    Join Date
    04-09-2012
    Location
    New Jersey
    MS-Off Ver
    Excel 2010
    Posts
    66

    Re: Open corrupted .xlsm file

    Try to open the corrupt excel file with OpenOffice or LibreOffice, this method worked worked for me.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. vba code to open xlsm file from Network Path
    By prabhuduraraj09 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-06-2014, 04:18 AM
  2. Code Starts itself as I open the XLSM file, and it should not
    By mortphil in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-24-2013, 08:03 AM
  3. Replies: 3
    Last Post: 05-21-2013, 08:22 AM
  4. IE hang after open .xlsm file in Excel 2007
    By kwokcm in forum Excel General
    Replies: 0
    Last Post: 08-23-2010, 05:55 AM
  5. Excel 2007 : How to open a .xlsm file through IE
    By DOES in forum Excel General
    Replies: 2
    Last Post: 12-19-2008, 10:41 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1