is their a way to create your own error message
have a work book with protected cells , can i get the default message to
read something like
you arre not authorised to alter this data
is their a way to create your own error message
have a work book with protected cells , can i get the default message to
read something like
you arre not authorised to alter this data
Hi Rich,
I do not believe that the default message can be changed.
---
Regards,
Norman
"Rich" <Rich@discussions.microsoft.com> wrote in message
news:6D540817-634D-4459-AF72-30557533EEC3@microsoft.com...
> is their a way to create your own error message
>
> have a work book with protected cells , can i get the default message to
> read something like
>
> you arre not authorised to alter this data
didnt think so ,, but can always live in hope
thanks for your responce
"Norman Jones" wrote:
> Hi Rich,
>
> I do not believe that the default message can be changed.
>
>
> ---
> Regards,
> Norman
>
>
>
> "Rich" <Rich@discussions.microsoft.com> wrote in message
> news:6D540817-634D-4459-AF72-30557533EEC3@microsoft.com...
> > is their a way to create your own error message
> >
> > have a work book with protected cells , can i get the default message to
> > read something like
> >
> > you arre not authorised to alter this data
>
>
>
You can't change the message, but you can stop them from selecting locked cells
on a protected sheet.
Option Explicit
Sub auto_open()
Dim wks As Worksheet
Set wks = Worksheets("sheet1")
With wks
.Protect password:="hi"
.EnableSelection = xlUnlockedCells
End With
End Sub
If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm
Rich wrote:
>
> is their a way to create your own error message
>
> have a work book with protected cells , can i get the default message to
> read something like
>
> you arre not authorised to alter this data
--
Dave Peterson
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks