+ Reply to Thread
Results 1 to 5 of 5

ignore document recovery VBA

  1. #1
    Forum Contributor
    Join Date
    07-14-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    921

    ignore document recovery VBA

    Hello

    sometimes if the workbook is closed forcedly, a pop-up will appear when you open Excel again
    is there any way to add VBA code in workbook open event that ignores all recovered files and close the document recovery pane without alarm the user?

  2. #2
    Valued Forum Contributor
    Join Date
    02-06-2014
    Location
    N/A
    MS-Off Ver
    N/A
    Posts
    373

    Re: ignore document recovery VBA

    Hiya, try something like this:

    Please Login or Register  to view this content.
    Last edited by 1aaaaaaaaaaaaaaa; 07-30-2023 at 11:28 AM.

  3. #3
    Forum Contributor
    Join Date
    10-02-2012
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    254

    Re: ignore document recovery VBA

    This is like punching a hole in the wall, and asking for an easy way to patch the hole in the wall because you do it so often, instead of not punching the wall.

    Instead of putting a bandage on it, you should address why you are forcibly closing Excel to cause this issue in the first place.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,545

    Re: ignore document recovery VBA

    If a workbook has been forcibly closed, wouldn't the user want to know about it and do something positive to assess and retrieve the situation. You may be choosing to ignore corrupt and/or lost data.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  5. #5
    Forum Contributor
    Join Date
    07-14-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    921

    Re: ignore document recovery VBA

    because sometimes Excel load recovered workbook with edits in xml of the workbook and will cause problems and losing and errors because its not the original file

+ 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. 'Document Recovery' issue
    By AndyInNYC in forum Office 365
    Replies: 0
    Last Post: 05-05-2022, 06:36 PM
  2. Mac Excel Document Recovery
    By jollyj in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 09-03-2012, 09:07 AM
  3. document recovery
    By justonetime in forum Excel General
    Replies: 1
    Last Post: 01-05-2008, 12:17 AM
  4. document recovery
    By sree in forum Excel General
    Replies: 3
    Last Post: 08-04-2006, 08:50 AM
  5. [SOLVED] Document Recovery
    By Dev in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-12-2006, 10:20 PM
  6. Document Recovery
    By TJB in forum Excel General
    Replies: 2
    Last Post: 04-04-2006, 11:10 PM
  7. document recovery
    By cxlough41 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-29-2006, 12:20 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