Go Back   PCMech Forums > Help & Discussion > Software Discussion & Support

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 12-08-2003, 04:37 AM   #1
Member (8 bit)
 
Join Date: May 2000
Location: Manila
Posts: 194
Send a message via ICQ to JUNG2
Time Limit for Excel?

Is there a way I can have a time limit on editing my Excel files? Let say I wan't other user to make changes at certain times only or once it reaches a certain time it would restrict everyone from making changes.

Thanks
JUNG2 is offline   Reply With Quote
Old 12-08-2003, 05:31 AM   #2
Member (6 bit)
 
Join Date: Dec 2003
Location: Derby
Posts: 44
What operating system are you running?
wolfie27 is offline   Reply With Quote
Old 12-08-2003, 03:20 PM   #3
Member (8 bit)
 
Join Date: May 2000
Location: Manila
Posts: 194
Send a message via ICQ to JUNG2
Windows 2000 pro
JUNG2 is offline   Reply With Quote
Old 12-08-2003, 03:48 PM   #4
Member (5 bit)
 
drivn dav's Avatar
 
Join Date: Apr 2001
Location: New Mexico
Posts: 29
I think Wolf meant what office operating system you are using. Office 2000, XP, or new one.
drivn dav is offline   Reply With Quote
Old 12-08-2003, 10:55 PM   #5
Member (8 bit)
 
Join Date: May 2000
Location: Manila
Posts: 194
Send a message via ICQ to JUNG2
Office 2000
JUNG2 is offline   Reply With Quote
Old 12-09-2003, 12:40 AM   #6
Member (11 bit)
 
TheJackal's Avatar
 
Join Date: Aug 2002
Location: BC, Canada
Posts: 1,054
You could use Microsoft Visual SourceSafe to make sure that only one person can edit the file at a time and the latest version is always available. SourceSafe is supposed to integrate with Office.
TheJackal is offline   Reply With Quote
Old 12-09-2003, 02:19 AM   #7
Member (8 bit)
 
Join Date: May 2000
Location: Manila
Posts: 194
Send a message via ICQ to JUNG2
thanks for that Idea, but what I want is that when a certain time reaches it would only allow users to view but not edit.
Thanks
JUNG2 is offline   Reply With Quote
Old 12-09-2003, 02:05 PM   #8
Member (10 bit)
 
David_Jones's Avatar
 
Join Date: May 2000
Location: New Zealand
Posts: 546
You could do that in VBA if you are comfortable with using it.

You can pick up the user name from what is stored in excel, or direct from Windows by using a Win API call, or by creating your own 'login' within excel.

Then just lock or unlock the model based on the user and the time. Be aware that excel takes its time from the system clock of the processor that is running the instance of excel - easy to fiddle with that. It may be possible to pull a time from another source I guess but I've never heard of anyone needing to.

Just do each bit one at a time, and use the MS excel newsgroups (programming) if you get stuck and need expert assistance.

HTH,

Alan.
David_Jones is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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



All times are GMT -5. The time now is 02:31 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2