Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() 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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Office 2007 trial is very slow. Is this because it's a trial | Excel Discussion (Misc queries) | |||
Trial Period? Can A Macro Shut down a file after 10 days? | Excel Discussion (Misc queries) | |||
Trial Has Expired and I can't open spreadsheet created in trial - | Excel Worksheet Functions | |||
How to make aging possible in Excel for an age trial balance shee. | Excel Discussion (Misc queries) | |||
how to make macro not dependent on datafile which has date as its part. | Excel Programming |