+ Reply to Thread
Results 1 to 3 of 3

How to set Expiration date and delete all code?

  1. #1
    Forum Contributor
    Join Date
    07-04-2017
    Location
    Phillipines
    MS-Off Ver
    2016
    Posts
    169

    How to set Expiration date and delete all code?

    Good day, me i ask if possible to have expiration date for all code and all code will be delete? but all input data not delete?

    Thanks for the answer


    Regards

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: How to set Expiration date and delete all code?

    Have a look at this...
    https://stackoverflow.com/questions/...wn-code-in-vba
    Perhaps run code on workbook.open...Add an if statement to check if date +> delete date
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Forum Contributor
    Join Date
    07-04-2017
    Location
    Phillipines
    MS-Off Ver
    2016
    Posts
    169

    Re: How to set Expiration date and delete all code?

    Sintek,
    Thank you for the help, but if i used this code the excel cannot open all the data will be lost. only i want is to delete the code and the input data will remain.


    Regards

+ 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. Adding Expiration Date and Days Left For Expiration Problem
    By Newmord in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-06-2018, 09:37 AM
  2. Calculate 1-year expiration date to the end of month of a date
    By Dietcoke1953 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-18-2016, 01:20 PM
  3. Expiration Date safe from changing computer's date
    By backyardfun in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-21-2014, 05:58 PM
  4. VBA code for multiple expiration dates
    By swordhse in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-11-2014, 11:16 AM
  5. Delete data with only 1 expiration date
    By randell.graybill in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-10-2010, 03:07 AM
  6. [SOLVED] color code a row by expiration date?
    By Kate in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-15-2006, 03:20 AM

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