Problems with Excel workbooks

Posted on 2011-10-19
Last Modified: 2012-05-12
Hi All

I am having some problems with excel workbooks. I have a computer that is having problems opening excel files with macros. Every time it tries to access the file i get the following error message. "Excel found unreadable content in 'file_name.xlsm' Do you want to recover the contents of the workbook?"

If I click yes I then get another error message  stating that "Excel was able to open the file by repairing or removing the unreadable content. Now all the Macros are gone.

Any Ideas?

Question by:hmuser

    Expert Comment

    Is it Office 2007? Did you do any upgrade recently?
    LVL 12

    Expert Comment

    it may be because of links to a file that hasn't existed for a long time. Here is how u can fix it:

    When you receive the message error, click Yes. 
    When the repair message comes up, click Close.
    File -> Option -> Trust Center -> Trust Center Settings -> External Content, 
    Change from Prompt to Disable on both settings. Click Ok. 

    Open in new window

    Save workbook and the error must be gone when reopening it.
    LVL 1

    Author Comment

    That just stops the error message from displaying, however the macros are all gone. Any ideas how I can keep the macros running?
    LVL 85

    Accepted Solution

    Can you record macros on that machine? Did you do a full Office install including VBA on it?
    LVL 1

    Author Closing Comment

    Yep that was it. VB was not installed.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
    Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
    Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.
    This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now