+ Reply to Thread
Results 1 to 4 of 4

Making Excel Tria

Hybrid View

  1. #1
    Registered User
    Join Date
    07-13-2015
    Location
    Slovakia
    MS-Off Ver
    2007, 2010, 2013
    Posts
    76

    Making Excel Tria

    Good afternoon,

    is it possible to make a trial version of an excel document? Like I will send my excel document to somebody, and i want him to use it only for certain time before it expires and after it i want to make it unuseable.

    Many thanks for every reply.

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,190

    Re: Making Excel Tria

    In the code, set the expiration date.
    Private Sub Workbook_Open()
    If Date > "8/7/15" Then
      MsgBox "Trial has expired", vbCritical, "Trial Version"
      Application.Quit
    End If
    End Sub
    Save the workbook with the VBA passworded so they cant change it.
    in the VBE menu, TOOLS, VBA PROJECT PROPERTIES, protection tab,
    lock project and set password

  3. #3
    Registered User
    Join Date
    07-13-2015
    Location
    Slovakia
    MS-Off Ver
    2007, 2010, 2013
    Posts
    76

    Re: Making Excel Tria

    Is it possible to do so, right after opening the file? I can only attach this code to a button...

  4. #4
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,190

    Re: Making Excel Tria

    you put this in WORKBOOOK OPEN event
    press ALT-F11 to get to VBE\
    in the left pane, dbl-click THISWORKBOOK
    in the right pane, paste the code.
    (it will run at open)

+ 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. Replies: 5
    Last Post: 03-18-2015, 11:00 PM
  2. Making a custom function available in any Excel Sheet (Personal.xlsb) for Excel 2010
    By vba_madness in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-10-2013, 05:34 AM
  3. Making a map in excel
    By grghhn in forum Excel General
    Replies: 11
    Last Post: 02-09-2010, 04:39 PM
  4. making a spreadsheet for student coursework making
    By spartan11chin in forum Excel General
    Replies: 17
    Last Post: 12-01-2009, 08:18 AM
  5. Making Excel do what I need
    By mikhailia in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 01-03-2007, 11:18 PM
  6. [SOLVED] Making Excel 2003 as the Default over Excel 2007
    By Rakesh Parekh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-12-2006, 09:25 AM
  7. Making it not look like excel????
    By raw in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-16-2005, 01:19 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