+ Reply to Thread
Results 1 to 4 of 4

Macro to delete entire file after certain date

  1. #1
    Registered User
    Join Date
    09-09-2011
    Location
    Finland
    MS-Off Ver
    Excel 2010
    Posts
    91

    Macro to delete entire file after certain date

    Hi

    I am looking for a macro that deletes the file after certain date. I do not have the skills to do that. Could i have some help...?
    Can i also make it so that the macro can not be deleted?
    Last edited by Ipinho100; 11-02-2017 at 02:38 AM.

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Macro to delete entire file after certain date

    Hello
    This code is put in Workbook module (you can specify number of days and after these number of days the file will be deleted)
    Please Login or Register  to view this content.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Registered User
    Join Date
    09-09-2011
    Location
    Finland
    MS-Off Ver
    Excel 2010
    Posts
    91

    Re: Macro to delete entire file after certain date

    Thanks, it solved my problem!

  4. #4
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Macro to delete entire file after certain date

    You're welcome. Glad I can offer some help

+ 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] Macro Needed to Delete Entire Row if the Entire Row (Or Col A,B,C,D in row ) are blank
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-04-2016, 06:32 AM
  2. Filter Date and Delete entire row except headers
    By FLani in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-10-2014, 07:41 PM
  3. Delete Entire Row if it contains a value (Date) from a List/Range
    By Davidkuyt in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-30-2014, 04:22 PM
  4. Macro to delete entire rows where O2:O does not equal a date
    By rain4u in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-20-2011, 10:37 PM
  5. Not Date Range, Delete Entire Row
    By ajocius in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-24-2010, 10:17 AM
  6. Help! with Macro - delete entire row
    By Rashid in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-04-2006, 05:20 PM
  7. Delete Entire Row - Date
    By Matt Cromer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-09-2005, 01:05 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