+ Reply to Thread
Results 1 to 2 of 2

Auto delete all previous version of the worksheet when exiting updated sheet

  1. #1
    Registered User
    Join Date
    04-04-2013
    Location
    Northampton
    MS-Off Ver
    Excel 2010
    Posts
    40

    Auto delete all previous version of the worksheet when exiting updated sheet

    I have used code to save the worksheet to add the date and time on save function. I am now trying to delete the previous versions automatically when either saving or exiting the latest worksheet. Can you assist please?

    Many Thanks

    Robbosan

  2. #2
    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,447

    Re: Auto delete all previous version of the worksheet when exiting updated sheet

    Not sure I understand. Are you talking about worksheets or workbooks? Are you making a copy of the worksheet within the workbook, or making a copy of the workbook using SaveAs?

    Either way, automatically deleting previous versions is a risky strategy. If you screw up processing the current version, and you automatically delete previous versions, then you have nothing to fall back on.

    No worse than working all day then closing Excel, maybe while looking at another workbook and not saving changes ... but, at least, this is in your control.

    My advice: don't.
    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


+ 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] Worksheet Copy - Auto delete buttons & Sheet code
    By goomblar in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-09-2014, 02:29 AM
  2. Replies: 6
    Last Post: 10-29-2013, 12:37 AM
  3. Previous Data formula in ONE Data block that will carry each time sheet is updated
    By imagrits101 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-29-2013, 12:14 AM
  4. [SOLVED] Count formula after a sheet is auto updated.
    By hammer2 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-22-2013, 03:18 AM
  5. Compare Old Worksheet With Updated Version
    By Cortlyn in forum Excel General
    Replies: 3
    Last Post: 03-22-2012, 12:07 PM
  6. Rev. Auto Updated when sheet is updated and or entire book
    By frankee_gee in forum Excel General
    Replies: 1
    Last Post: 04-07-2008, 05:05 PM
  7. Need to retrieve a previous version of an excel worksheet
    By NancyDrew in forum Excel General
    Replies: 1
    Last Post: 12-07-2005, 06:30 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