+ Reply to Thread
Results 1 to 4 of 4

Looking for Excel Time Bomb to delete worksheet based on future date

  1. #1
    Registered User
    Join Date
    08-02-2018
    Location
    Douglas Mi
    MS-Off Ver
    2016
    Posts
    17

    Looking for Excel Time Bomb to delete worksheet based on future date

    Hello Team!

    Looking for help writing a VBA to delete a time based (quarterly) worksheet based on a future date.
    I've been looking at Chip Pearson's version "TimeBomb With A Defined Name" or similar but having a hard time putting it together.
    I have two other Private Sub Workbook_Open() on the worksheet and they're working well.
    However, my attempt to add an additional Time Bomb comes up with a Compile error: Ambiguous name detected: Workbook_Open

    I've been working on this spreadsheet for many years and would like to protect the hard work I've put into this project.

    Any help or suggestions would greatly be appreciated!

    Rob Surina
    Douglas Michigan

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166
    Hello Rob Surina,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    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

    Re: Looking for Excel Time Bomb to delete worksheet based on future date

    Rob Surina, please note that this sub-forum is for introductions only, and is generally not monitored by our members.

    Your post has been moved to the Excel Programming / VBA / Macros sub-forum, here : https://www.excelforum.com/excel-programming-vba-macros/1240307-re-looking-for-excel-time-bomb-to-delete-worksheet-based-on-future-date.html#post4947955
    Please familiarise yourself with the rules before posting. You can find them here.

  4. #4
    Registered User
    Join Date
    08-02-2018
    Location
    Douglas Mi
    MS-Off Ver
    2016
    Posts
    17

    Re: Looking for Excel Time Bomb to delete worksheet based on future date

    Thank you for moving my post to the appropriate place

+ 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. Easiest way to time bomb a workbook
    By Big_Slick in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-21-2014, 10:18 PM
  2. Kill command/ Time bomb/ permanently delete
    By ThomasAnthony in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-06-2014, 08:29 AM
  3. Time bomb not working
    By go2review in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-05-2014, 12:24 AM
  4. auto delete all data based on a future date
    By dawondr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-27-2013, 02:01 PM
  5. Deducting Current Date & time with Future Date and Time
    By mangesh in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-03-2013, 07:30 AM
  6. [SOLVED] How do I create an expiry date (bomb) for my spreadsheet?
    By Sarahja in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-13-2013, 10:48 AM
  7. Excel VBA find newest worksheet based on date/time stamp in worksheet name?
    By takchin.tc in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-27-2012, 03:56 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