It may work until the user disables events or macros.
> It may work until the user disables events or macros.
This of course is true and I know that there is nothing that you can do that
a knowledgeable user cannot circumvent. However, if the OP's staff are
anything like the Care Staff at the residential Centre for disabled people
where I used to work, where VBA was "magic" it may be sufficient to hide the
sheet on closing.
If that will suffice then to the OP: paste these macros into the Workbook
module of ThisWorkbook:
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Sheets("Sheet1").Visible = xlVeryHidden
'Use your own sheet name in place of "Sheet 1"
End Sub
Private Sub Workbook_Open()
Sheets("Sheet1").Visible = True
'Use your own sheet name in place of "Sheet 1"
End Sub

Signature
HTH
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
sandymann2@mailinator.com
Replace @mailinator.com with @tiscali.co.uk
> It may work until the user disables events or macros.
>
[quoted text clipped - 35 lines]
>> >>
>> >> Mike
Sandy Mann - 15 Sep 2007 11:33 GMT
Just an added note for the OP:
You cannot hide all the sheets in a workbook, you must always have at least
one sheet visible. If you want the work book to open on your Schedule sheet
then add to the Workbook_Open() code the line:
Sheets("Sheet1").Activate
Once again replacing "Sheet1" with your own sheet name.

Signature
HTH
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
sandymann2@mailinator.com
Replace @mailinator.com with @tiscali.co.uk
>> It may work until the user disables events or macros.
>
[quoted text clipped - 56 lines]
>>> >>
>>> >> Mike
Michael Slater - 15 Sep 2007 13:03 GMT
Sandy,
Thank you very much....the first macro you posted should work fine. While I
do have some who like to tinker, they know better than to try to "get
around" that fix.
Thanks again,
Mike
> Just an added note for the OP:
>
[quoted text clipped - 65 lines]
>>>> >>
>>>> >> Mike
Sandy Mann - 15 Sep 2007 13:11 GMT
You're welcoime.
> Thank you very much....the first macro you posted should work fine. While
> I do have some who like to tinker, they know better than to try to "get
> around" that fix
In that case add, "OR ELSE!" at the end of the messagebox message <g>

Signature
Regards,
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
sandymann2@mailinator.com
Replace @mailinator.com with @tiscali.co.uk
> Sandy,
>
[quoted text clipped - 75 lines]
>>>>> >>
>>>>> >> Mike