+ Reply to Thread
Results 1 to 4 of 4

VBA Corruption = "We found a problem with some content in XXXXX.xlsm."

  1. #1
    Registered User
    Join Date
    04-14-2021
    Location
    Long Island, NY
    MS-Off Ver
    Office 365
    Posts
    37

    VBA Corruption = "We found a problem with some content in XXXXX.xlsm."

    Hi All,

    I continue to have an issue with my forecast model vba, where I receive the follow message when opening: "We found a problem with some content in xxxxx.xlsm. Do you want us to try to recover as much as we can?" The issue only occurs after I build out all of my segment/product tabs. In other words, when I have all my VBA in place, as well as my non-colored tabs, as well as the pipeline tab, and one single segment/product tab (P MFI), there is no issue. However, when I begin to build out all of the color tabs and try to save, I receive this message and also whenever I try to reopen it.

    I've inherited this code so I'm only about 95% comfortable with it as of now.

    Looking around the forum, I see that similar issue have been addressed where the answer was maxing out the data validation character limit of 255. I know what data validation is on the front end when creating a list, but I don't know where to begin to diagnose this problem as I don't believe any data validations exist.

    SEND HELP!

    THANKS!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: VBA Corruption = "We found a problem with some content in XXXXX.xlsm."

    When using sortfields.add you should always clear them first. So you need to un-comment this line of your code
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-14-2021
    Location
    Long Island, NY
    MS-Off Ver
    Office 365
    Posts
    37

    Re: VBA Corruption = "We found a problem with some content in XXXXX.xlsm."

    Quote Originally Posted by Fluff13 View Post
    When using sortfields.add you should always clear them first. So you need to un-comment this line of your code
    Please Login or Register  to view this content.
    Absolute, genius! Thank you so much for finding the needle in the hay stack! I really do appreciate your assistance and sharing your expertise.

    Cheers!

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: VBA Corruption = "We found a problem with some content in XXXXX.xlsm."

    You're welcome & thanks for the feedback.

+ 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. [SOLVED] We found a problem with some content in XXXXX.xlsm. Do you want us to try to recover as mu
    By AJVM in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 02-18-2021, 08:59 PM
  2. "We found a problem with some content" Error on opening
    By Maleficent in forum Excel General
    Replies: 17
    Last Post: 07-16-2020, 06:16 AM
  3. We found a problem with some content in *.xlsm. Do you want us to try to recover as ...
    By fargeneral in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2020, 05:59 AM
  4. [SOLVED] "Found a problem with some content" error on opening file
    By Vindorable in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-28-2018, 09:32 AM
  5. Replies: 1
    Last Post: 05-10-2016, 06:45 AM
  6. Replies: 3
    Last Post: 04-08-2014, 08:54 AM
  7. 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

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