Results 1 to 3 of 3

Expiration Date safe from changing computer's date

Threaded View

  1. #1
    Forum Contributor
    Join Date
    11-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    208

    Expiration Date safe from changing computer's date

    Below is what I am using to protect my program I wrote but I know all they have to do is change the computer's date and it will work. Is there a way to protect from that?



    Dim exdate As Date
        exdate = "12/31/2014"
        If Date > exdate Then
            MsgBox ("This program has ended.  Please see administrator!")
            ActiveWorkbook.Close False
            End If
            If exdate - Date < 14 Then MsgBox ("You have " & exdate - Date & " Days left. Please contact administrator.")
    Last edited by Leith Ross; 10-21-2014 at 05:30 PM. Reason: Fixed Code tags

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 08-09-2014, 12:40 PM
  2. Expiration Date
    By stevenchaplin in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-23-2013, 03:56 PM
  3. fixed date format in case computer has different date settings e.g dd/mm or mm/dd
    By gwsampso in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-29-2013, 08:06 PM
  4. set expiration date
    By nhat8121 in forum Excel General
    Replies: 13
    Last Post: 01-05-2007, 10:02 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