+ Reply to Thread
Results 1 to 5 of 5

Delete work sheet / book on a nominated date Excel 2007

  1. #1
    Registered User
    Join Date
    06-21-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2000
    Posts
    16

    Delete work sheet / book on a nominated date Excel 2007

    Hi, I currently send out work sheets to various departments on a monthly basis and consistently get out dated / previous versions returned to me.
    Is there any way I can automatically delete information on a given date rendering the sheet useless?

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile Re: Delete work sheet / book on a nominated date Excel 2007

    Good afternoon Banner
    Quote Originally Posted by Banner View Post
    Is there any way I can automatically delete information on a given date rendering the sheet useless?
    You can, but Excel isn't entirely suited to this kind of thing because it depends on users OK'ing the use of macros, and you can't force them to.

    This article by Chip Pearson might be a good place to start :
    http://www.cpearson.com/excel/workbooktimebomb.aspx

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Registered User
    Join Date
    06-21-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2000
    Posts
    16

    Re: Delete work sheet / book on a nominated date Excel 2007

    Thanks - will take a look straight away!

  4. #4
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: Delete work sheet / book on a nominated date Excel 2007

    For a macro-free solution, you could maybe create 'copies' of each sheet with a formula based on the expiry date which you could hold in a separate sheet (perhaps a cover sheet if you already have one).

    For instance, if you had a sheet called Sheet1, you could hide this sheet then create a new sheet Sheet2 with the following formula in each cell:

    A1:
    =if(today()>'Cover Sheet'!$A$1,"",Sheet1!A1)

    Drag this along and down to cover as many cells as are held in Sheet1, and copy over the formatting of Sheet1. This will create a sheet which visually matches Sheet1, but if today's date is greater than the expiry date held in Cover Sheet cell A1, then all the information would be blanked out.

    It's not an ideal solution, especially if people need to see the formulas, but it may work for your requirements and negates the need for users to click 'enable macros'.

  5. #5
    Registered User
    Join Date
    06-21-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2000
    Posts
    16

    Re: Delete work sheet / book on a nominated date Excel 2007

    Thanks once again.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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