+ Reply to Thread
Results 1 to 16 of 16

We found a problem with some content in XXXXX.xlsm. Do you want us to try to recover as mu

  1. #1
    Registered User
    Join Date
    05-09-2018
    Location
    Toronto, ont
    MS-Off Ver
    excel 2016 / excel 365
    Posts
    8

    We found a problem with some content in XXXXX.xlsm. Do you want us to try to recover as mu

    Hi I'm sorry, I'm a newbie with excel..

    I get an error after closing and reopening the excel book. I tried to lookup the issue, I tried everything I could find.
    I am able to compile and run the vba, but soon as I save it and reopenit, i get the message below.

    "We found a problem with some content in "XXXXX.XLSM". do you want us tor try to recover as much as we can? if you trust the source of the workbook. click yes."

    I've changed the Trust centre settings for the ActiveX Settings / Macro Settings / Trusted Locations. saved as an excel 95 file and recreated as an xlsm file. verifying any references.
    I'm trying to adding an activeX Command button (I even tried to put a Form Control button) to the excel sheet.
    I've even tried renaming the sheets.

    Capture.PNG

    In the attached image, after I say yes to the error, excel creates a new "Sheet1" object and moves the original "Sheet1" object to a new sequence number, in the image above, the original sheet was renumbered to "Sheet3"..

    Any help would be greatly appreciated

    here is the code for the button click event, it's simply copying and pasting columns to new area (there is a data validation list that i'm getting form another page).

    Please Login or Register  to view this content.
    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #3 requires code tags. I have added them for you this time because you are a new member. --6StringJazzer
    Last edited by 6StringJazzer; 05-09-2018 at 02:59 PM.

  2. #2
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,159

    Re: We found a problem with some content in XXXXX.xlsm. Do you want us to try to recover a

    If you can, transfer the data (as values, without formats and formulas) to the new workbook, recreate the formulas in it. Delete the old workbook.
    Maybe it's damaged, it happens.

  3. #3
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Re: We found a problem with some content in XXXXX.xlsm. Do you want us to try to recover a

    Do you have an old copy of the sheet or a backup?
    If so, you could open the file using a zip programme and copy the vba project from the backup onto the new excel sheet.
    You could also do this from a similar sheet and just manually fix/copy over any VBA that was changed.
    If you want something done right... find a forum and ask an online expert.

    Time flies like an arrow. Fruit flies like a banana.

  4. #4
    Registered User
    Join Date
    05-09-2018
    Location
    Toronto, ont
    MS-Off Ver
    excel 2016 / excel 365
    Posts
    8

    Re: We found a problem with some content in XXXXX.xlsm. Do you want us to try to recover a

    Hello scottiex,
    Yes, have a copy in GIT, I will try that. I'm not familiar with using a zip to copy the program vba project from the backup onto the new excel sheet. but I will investigate.

    Hello porucha vevrku,

    I did try that and then recreated the vba in the new excel sheet, it's strange because I can save and reopen the file without any issue, but as soon as I run the code
    (it compiles, and runs with no issues), yet once I save it then try to open it again i receive the error.

    I really appreciate the guidance! I'm am not very familiar with vba/excel.

    AM

  5. #5
    Registered User
    Join Date
    05-09-2018
    Location
    Toronto, ont
    MS-Off Ver
    excel 2016 / excel 365
    Posts
    8

    Re: We found a problem with some content in XXXXX.xlsm. Do you want us to try to recover a

    Hello scottiex,
    Yes, have a copy in GIT, I will try that. I'm not familiar with using a zip to copy the program vba project from the backup onto the new excel sheet. but I will investigate.
    Sorry I usually don't post.
    Thanks for your help.
    AM

  6. #6
    Registered User
    Join Date
    05-09-2018
    Location
    Toronto, ont
    MS-Off Ver
    excel 2016 / excel 365
    Posts
    8

    Re: We found a problem with some content in XXXXX.xlsm. Do you want us to try to recover a

    Hello porucha vevrku,

    I did try that and then recreated the vba in the new excel sheet, it's strange because I can save and reopen the file without any issue, but as soon as I run the code
    (it compiles, and runs with no issues), yet once I save it then try to open it again i receive the error.

    I really appreciate the guidance! I'm am not very familiar with vba/excel.

    AM

  7. #7
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: We found a problem with some content in XXXXX.xlsm. Do you want us to try to recover a

    Hi,
    I’d bet that your list for the data validation is over 255 characters, which is over the limit. You’re getting the items from a range anyway so you should just use the address of that range.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  8. #8
    Registered User
    Join Date
    05-09-2018
    Location
    Toronto, ont
    MS-Off Ver
    excel 2016 / excel 365
    Posts
    8

    Re: We found a problem with some content in XXXXX.xlsm. Do you want us to try to recover a

    Hello xlnitwit,

    You guys are awesome!! I'd be willing to bet you are correct, I will test it shortly and reply. There are 227 rows in the result set that i'm returning from SQL (in my test).

    THANKS!!!!
    AM

  9. #9
    Registered User
    Join Date
    05-09-2018
    Location
    Toronto, ont
    MS-Off Ver
    excel 2016 / excel 365
    Posts
    8

    Re: We found a problem with some content in XXXXX.xlsm. Do you want us to try to recover a

    Hello xlnitwit,

    You guys are awesome!! I'd be willing to bet you are correct, I will test it shortly and reply. There are 227 rows in the result set that i'm returning from SQL (in my test).

    THANKS!!!!
    AM

  10. #10
    Registered User
    Join Date
    05-09-2018
    Location
    Toronto, ont
    MS-Off Ver
    excel 2016 / excel 365
    Posts
    8

    Re: We found a problem with some content in XXXXX.xlsm. Do you want us to try to recover a

    THANK YOU porucha vevrku , scottiex and xlnitwit for responding!

    xlnitwit, you were absolutely spot on, with the 255 character limit. I was definitely exceeding. I am now able to open and close the sheet with no issues.

    I'm not 100% clear on how I can use the "Address of the Range". won't the "Address of the Range" appear in the drop down list? I'm sorry, up until 5 days ago, I had not touched vba or macro's, especially in excel.
    In my test scenario I have a list of 227 row / items. In production I think it will be limited to under 100 items.

    I have code that will allow me to populate a combo box with the same information, but I don't know if i can / or how to, dynamically link the combo box to a specific excel Cell.

    THANK YOU SO MUCH FOR ALL OF YOUR HELP!
    AM

  11. #11
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: We found a problem with some content in XXXXX.xlsm. Do you want us to try to recover a

    You might replace this part at the end
    Please Login or Register  to view this content.
    with this
    Please Login or Register  to view this content.

  12. #12
    Registered User
    Join Date
    05-09-2018
    Location
    Toronto, ont
    MS-Off Ver
    excel 2016 / excel 365
    Posts
    8

    Re: We found a problem with some content in XXXXX.xlsm. Do you want us to try to recover a

    OMG xlnitwit! That's awesome! It worked perfectly! Thank you all so much!

  13. #13
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: We found a problem with some content in XXXXX.xlsm. Do you want us to try to recover a

    You're welcome. Thanks for the rep.

  14. #14
    Registered User
    Join Date
    10-03-2017
    Location
    UK
    MS-Off Ver
    2016
    Posts
    4

    Re: We found a problem with some content in XXXXX.xlsm. Do you want us to try to recover a

    Quote Originally Posted by xlnitwit View Post
    Hi,
    I’d bet that your list for the data validation is over 255 characters, which is over the limit. You’re getting the items from a range anyway so you should just use the address of that range.
    Just found this post when searching to fix an issue I had re. the "problem" error and yup my data validation is > 255. Thanks for posting this originally. I just wish MS gave a more useful error in the first place.

  15. #15
    Registered User
    Join Date
    07-31-2019
    Location
    Vilnius
    MS-Off Ver
    Professional Plus 2016
    Posts
    2

    Re: We found a problem with some content in XXXXX.xlsm. Do you want us to try to recover a

    Quote Originally Posted by xlnitwit View Post
    Hi,
    I’d bet that your list for the data validation is over 255 characters, which is over the limit. You’re getting the items from a range anyway so you should just use the address of that range.
    That's a fix! Thank you!

  16. #16
    Registered User
    Join Date
    02-18-2021
    Location
    Jakarta
    MS-Off Ver
    365
    Posts
    1

    Re: We found a problem with some content in XXXXX.xlsm. Do you want us to try to recover a

    Quote Originally Posted by xlnitwit View Post
    Hi,
    I’d bet that your list for the data validation is over 255 characters, which is over the limit. You’re getting the items from a range anyway so you should just use the address of that range.
    I have similar issue, thanks God, I found this forum with perfect answer.
    Thank you xlnitwit & excelforum.

+ 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. Excel found unreadable content in *****.xlsm
    By ddaann182 in forum Excel General
    Replies: 2
    Last Post: 11-18-2014, 04:02 PM
  3. [SOLVED] Excel found unreadable content in filename.xlsm'. do you want to recover.....
    By cedia2545 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-17-2014, 01:20 PM
  4. Excel error - Unreadable content found in filename.xlsm, do you want to recover
    By benmie in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-13-2013, 04:28 AM
  5. Replies: 3
    Last Post: 08-12-2013, 06:15 PM
  6. 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
  7. [SOLVED] Unreadable content found in .xlsm but not .xlsb. Why?
    By 111StepsAhead in forum Excel General
    Replies: 4
    Last Post: 04-18-2012, 10:31 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