+ Reply to Thread
Results 1 to 2 of 2

Macro to ignore "We found a problem with some content"

Hybrid View

  1. #1
    Registered User
    Join Date
    05-05-2016
    Location
    uk
    MS-Off Ver
    13
    Posts
    16

    Macro to ignore "We found a problem with some content"

    I got a macro that compiles multiple sheets into one single sheet. However some of the files have the "We found a problem with some content.." issue and as a result, these files are not added by the macro into the compiled sheet.

    Is there a way to incorporate code into the macro to ignore/fix the error?

    At the moment I manually go through each of the files with errors, click yes and then click the successfully repaired dialog box ok. I then save it and overwrite the old file. This then gets rid of the errors and I am able to successfully compile the files together.

  2. #2
    Valued Forum Contributor spitfireblue's Avatar
    Join Date
    01-29-2015
    Location
    Adelaide, Australia
    MS-Off Ver
    2007,2010,2016
    Posts
    611

    Re: Macro to ignore "We found a problem with some content"

    Try...

    Application.DisplayAlerts = False
    at the start of your code and
    Application.DisplayAlerts = True
    at the end
    Regards,
    Stephen

    If you feel someone has helped you please thank them and click on the star on their post to add reputation.
    Please ensure that you use code tags where relevant, and mark solved threads as solved.
    Most of all please be respectful and understanding of others.

+ 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. Replies: 2
    Last Post: 03-17-2016, 09:47 AM
  2. [Solved] Macro Column selection keeps defaulting to "C:x" instead of just "x"
    By Cappytano in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-14-2015, 10:33 AM
  3. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  4. Getting: "Excel found unreadable content in 'MyWorkbook.xlsm'..."
    By Ragnaros in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-22-2013, 09:06 PM
  5. Error "Excel found unreadable content" due to autofilter
    By JChandler22 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-05-2012, 02:38 AM
  6. [SOLVED] How to Count number of "Error" and "OK" after the word "Instrument" found in table row
    By eltonlaw in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2012, 06:26 AM
  7. VB Macro for Proper Case to Ignore "/" & "-"
    By jlcford in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-08-2008, 07:49 AM

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