Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Make a Trial Date Macro ?


thanks for your site, it really helps.
However, i ve been asked a question and can hardly find an answer to i
?
Might you help me on that.
Is it possible to protect a macro of excel and make it trial dat
protected.
Explanation : I have a macro that i want to protect on a excel file
but moreover i d like to allow its users to use it only for a limite
time; after what they will have to register and to pay for having i
without this time limitation?
Do yuou know how ?
where can i find this ?
If it doesn t existe what kind of other protection can you advise me ?
Thanks a lot
Harr

--
harrybe
-----------------------------------------------------------------------
harryben's Profile: http://www.excelforum.com/member.php...fo&userid=2623
View this thread: http://www.excelforum.com/showthread.php?threadid=39528

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default Make a Trial Date Macro ?

hi.
to quote Ron de Bruin....
"You can place Private before a sub like this Private Sub test() Or add this
at the top of the module Option Private Module This way you don't see it in
the macro list (Alt-F8) and you can Protect your project in the VBA editor
Alt-F11 In the menubar ToolsVBA project properties See the protection tab
This way they can't see or edit your code"

As to the time delay part you could do this

at the beginning of your macro...

IF Date <=#8/15/2005# then 'or a time period you prefer
MsgBox (" this macro has expired")
Exit Sub
End If

this way if the date you set has passed, the user gets a message and the macro
shuts down.

Regards
FSt1

"harryben" wrote:


thanks for your site, it really helps.
However, i ve been asked a question and can hardly find an answer to it
?
Might you help me on that.
Is it possible to protect a macro of excel and make it trial date
protected.
Explanation : I have a macro that i want to protect on a excel file,
but moreover i d like to allow its users to use it only for a limited
time; after what they will have to register and to pay for having it
without this time limitation?
Do yuou know how ?
where can i find this ?
If it doesn t existe what kind of other protection can you advise me ?
Thanks a lot
Harry


--
harryben
------------------------------------------------------------------------
harryben's Profile: http://www.excelforum.com/member.php...o&userid=26235
View this thread: http://www.excelforum.com/showthread...hreadid=395281


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Office 2007 trial is very slow. Is this because it's a trial rtappan Excel Discussion (Misc queries) 2 February 22nd 10 10:14 PM
Trial Period? Can A Macro Shut down a file after 10 days? wx4usa Excel Discussion (Misc queries) 3 July 24th 07 04:18 PM
Trial Has Expired and I can't open spreadsheet created in trial - mls2125 Excel Worksheet Functions 5 July 11th 07 01:24 PM
How to make aging possible in Excel for an age trial balance shee. Anne L Excel Discussion (Misc queries) 3 March 20th 05 05:31 PM
how to make macro not dependent on datafile which has date as its part. haisat Excel Programming 2 October 18th 03 12:14 PM


All times are GMT +1. The time now is 04:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"