Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default how can I lock a file after some days of using it??

Hi there!!
Could you please help me?? I need to know if an excel
file can be locked after some days of using it.
The functionality is similar to the trial versions that
you download from internet which after 30 (commonly) you
can't use them any more.
thanks!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default how can I lock a file after some days of using it??

I'll show the way. How to do, if with you...


In AutoOpen procedure write a code to unlock the workbook in same condiction
(password for example)

- After opened the first time, write the current date.
- Write a code to check the limitation from the date (date + 30 days)
- If expired, show a message, lock and close the workbook
- If not expired, lets the user try it!

In AutoClose LOCK workbook again

Remember, never close the workbook without LOCK IT!


Regards!

Eduardo




"Beatriz Alvarez" escreveu na mensagem
...
Hi there!!
Could you please help me?? I need to know if an excel
file can be locked after some days of using it.
The functionality is similar to the trial versions that
you download from internet which after 30 (commonly) you
can't use them any more.
thanks!!



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003


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
unexpected file lock by user Chethan Excel Worksheet Functions 1 February 19th 10 12:44 PM
How to lock cells after a certain days Thu Ng Excel Worksheet Functions 1 November 15th 09 04:09 PM
Lock a file so it can't be altered unless saved as another file Chrisrmx Excel Worksheet Functions 1 March 29th 06 02:40 PM
Lock Chart Display to last 14 days (or data points) toilinthedark Charts and Charting in Excel 1 September 21st 05 05:19 AM
Excel fails to lock file across VPN? LongJudson Excel Discussion (Misc queries) 0 February 7th 05 04:37 PM


All times are GMT +1. The time now is 03:56 PM.

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

About Us

"It's about Microsoft Excel"