#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 492
Default Time Out

Hi,
I have a quite large sheet that has seven worksheets which tracks
expenditure vs budget.
Apart from the worksheet that the end user can see, all the other six sheets
are password protected and the workbook is password protected.
People authorised to update the source data have to enter a password via an
InputBox using VBA that unprotects the various sheets and the workbook.
On saving, the BeforeSave event reprotects the sheets and workbook.
My question is, is there a way to reprotect or exit the file if no data is
entered or the mouse is not moved for a given time to prevent anyone seeing
the unprotected sheets if the authorised user walks away and leaves the
normally hidden sheets visible?
I know this will rely on Macros being enabled and all that entails but this
is not an issue in this case.
TIA,
Regards,
Alan.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default Time Out

A slightly different approach is to leave the sheets protected, with unlocked
"Input Cells" where the user enters data followed by clicking on a cmd
button. If the user has entered a correct login password, the cmd button
action will unprotect, transfer the data to your "data" sheets, then protect
again.

Another way is to use UserForms for inputting or editing data. Clicking an
OK button will then do the same: check the password, unlock the data sheet,
post the data and reprotect.

"Alan" wrote:

Hi,
I have a quite large sheet that has seven worksheets which tracks
expenditure vs budget.
Apart from the worksheet that the end user can see, all the other six sheets
are password protected and the workbook is password protected.
People authorised to update the source data have to enter a password via an
InputBox using VBA that unprotects the various sheets and the workbook.
On saving, the BeforeSave event reprotects the sheets and workbook.
My question is, is there a way to reprotect or exit the file if no data is
entered or the mouse is not moved for a given time to prevent anyone seeing
the unprotected sheets if the authorised user walks away and leaves the
normally hidden sheets visible?
I know this will rely on Macros being enabled and all that entails but this
is not an issue in this case.
TIA,
Regards,
Alan.



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
Time calculations for Scheduled Time vs. Actual Time Worked The Caterer Excel Discussion (Misc queries) 1 November 29th 09 08:08 AM
straight time, time and a half, and double time Jeremy Excel Discussion (Misc queries) 3 September 23rd 08 09:03 PM
Calculate Ending time using Start Time and Elapsed Time Chief 711 Excel Worksheet Functions 5 May 13th 08 04:34 PM
Converting date/time serial values to cumulative time totals... Kevin B Excel Discussion (Misc queries) 4 October 18th 07 05:05 PM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM


All times are GMT +1. The time now is 01:54 AM.

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"