Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 397
Default Unprotect Sheet - Removal of standard Message


Howdie,

I have a protected sheet, but with no password supplied. When a user
clicks on a protected Celle he gets the standard msg that says " Sheet
is protected, go to the unprotect sheet option under the tools menu....)

I dont want the user to see that - just want him to see - Sheet is
protected values can not be changed.

Is that possible?

Thanks

D


*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default Unprotect Sheet - Removal of standard Message

I think No...I'd be surprised if someone has a method...
OJ

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default Unprotect Sheet - Removal of standard Message

Hi Darin,

I have seen this Asked for Several Times, But I think that this is One
Message that CANNOT be Changed.

All the Best.
Paul



*** Sent via Developersdex http://www.developersdex.com ***
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Unprotect Sheet - Removal of standard Message

Darin,
Not perfect, but the BeforeDoubleClick event will give you chance to:

If Target.Locked = True Then
MsgBox "can't edit: locked"
Cancel = True
End If

NickHK

"Darin Kramer" wrote in message
...

Howdie,

I have a protected sheet, but with no password supplied. When a user
clicks on a protected Celle he gets the standard msg that says " Sheet
is protected, go to the unprotect sheet option under the tools menu....)

I dont want the user to see that - just want him to see - Sheet is
protected values can not be changed.

Is that possible?

Thanks

D


*** Sent via Developersdex http://www.developersdex.com ***



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Unprotect Sheet - Removal of standard Message

wouldn't that just work if the user double clicked (an unlikely event)?
Not sure that saying "Not perfect" captures the full essence of that
constraint <g


--
Regards,
Tom Ogilvy

"NickHK" wrote in message
...
Darin,
Not perfect, but the BeforeDoubleClick event will give you chance to:

If Target.Locked = True Then
MsgBox "can't edit: locked"
Cancel = True
End If

NickHK

"Darin Kramer" wrote in message
...

Howdie,

I have a protected sheet, but with no password supplied. When a user
clicks on a protected Celle he gets the standard msg that says " Sheet
is protected, go to the unprotect sheet option under the tools menu....)

I dont want the user to see that - just want him to see - Sheet is
protected values can not be changed.

Is that possible?

Thanks

D


*** Sent via Developersdex http://www.developersdex.com ***







  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Unprotect Sheet - Removal of standard Message

The OP said that "when a user clicks on a protected cell.."
A single click would not have an effect on a locked cell, whereas a double
click would.
Just following that line of thought.

NickHK

"Tom Ogilvy" wrote in message
...
wouldn't that just work if the user double clicked (an unlikely event)?
Not sure that saying "Not perfect" captures the full essence of that
constraint <g


--
Regards,
Tom Ogilvy

"NickHK" wrote in message
...
Darin,
Not perfect, but the BeforeDoubleClick event will give you chance to:

If Target.Locked = True Then
MsgBox "can't edit: locked"
Cancel = True
End If

NickHK

"Darin Kramer" wrote in message
...

Howdie,

I have a protected sheet, but with no password supplied. When a user
clicks on a protected Celle he gets the standard msg that says " Sheet
is protected, go to the unprotect sheet option under the tools

menu....)

I dont want the user to see that - just want him to see - Sheet is
protected values can not be changed.

Is that possible?

Thanks

D


*** Sent via Developersdex http://www.developersdex.com ***







  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Unprotect Sheet - Removal of standard Message

Pragmatically, I can't recall double clicking on a cell recently. Click
once and type, then get the message for a protected cell is the normal mode
for me.

But it is certainly true your solution handles the double click; thus I
applaud your creativity.

I previously suggested (a previous thread) the OP use the enableselection
property which was apparently rejected, so I am not just "butting" in or
giving you a hard time. I just want it to be clear to the OP that what you
suggest is not going to eliminate many of the messages unless the habits of
his users are to only double click.

Anyway, if event code is the answer, then might as well use selectionchange
perhaps in conjunction with your offering.

Regards,
Tom Ogilvy

"NickHK" wrote in message
...
The OP said that "when a user clicks on a protected cell.."
A single click would not have an effect on a locked cell, whereas a double
click would.
Just following that line of thought.

NickHK

"Tom Ogilvy" wrote in message
...
wouldn't that just work if the user double clicked (an unlikely event)?
Not sure that saying "Not perfect" captures the full essence of that
constraint <g


--
Regards,
Tom Ogilvy

"NickHK" wrote in message
...
Darin,
Not perfect, but the BeforeDoubleClick event will give you chance to:

If Target.Locked = True Then
MsgBox "can't edit: locked"
Cancel = True
End If

NickHK

"Darin Kramer" wrote in message
...

Howdie,

I have a protected sheet, but with no password supplied. When a user
clicks on a protected Celle he gets the standard msg that says "

Sheet
is protected, go to the unprotect sheet option under the tools

menu....)

I dont want the user to see that - just want him to see - Sheet is
protected values can not be changed.

Is that possible?

Thanks

D


*** Sent via Developersdex http://www.developersdex.com ***








  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Unprotect Sheet - Removal of standard Message

Tom,
The .EnableSelection would be a more robust way of preventing the message,
agreed.
Alternatively, the OP should allow Excel to do its thing.

NickHk

"Tom Ogilvy" wrote in message
...
Pragmatically, I can't recall double clicking on a cell recently. Click
once and type, then get the message for a protected cell is the normal

mode
for me.

But it is certainly true your solution handles the double click; thus I
applaud your creativity.

I previously suggested (a previous thread) the OP use the enableselection
property which was apparently rejected, so I am not just "butting" in or
giving you a hard time. I just want it to be clear to the OP that what

you
suggest is not going to eliminate many of the messages unless the habits

of
his users are to only double click.

Anyway, if event code is the answer, then might as well use

selectionchange
perhaps in conjunction with your offering.

Regards,
Tom Ogilvy

"NickHK" wrote in message
...
The OP said that "when a user clicks on a protected cell.."
A single click would not have an effect on a locked cell, whereas a

double
click would.
Just following that line of thought.

NickHK

"Tom Ogilvy" wrote in message
...
wouldn't that just work if the user double clicked (an unlikely

event)?
Not sure that saying "Not perfect" captures the full essence of that
constraint <g


--
Regards,
Tom Ogilvy

"NickHK" wrote in message
...
Darin,
Not perfect, but the BeforeDoubleClick event will give you chance

to:

If Target.Locked = True Then
MsgBox "can't edit: locked"
Cancel = True
End If

NickHK

"Darin Kramer" wrote in message
...

Howdie,

I have a protected sheet, but with no password supplied. When a

user
clicks on a protected Celle he gets the standard msg that says "

Sheet
is protected, go to the unprotect sheet option under the tools

menu....)

I dont want the user to see that - just want him to see - Sheet is
protected values can not be changed.

Is that possible?

Thanks

D


*** Sent via Developersdex http://www.developersdex.com ***










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
Assign Error message to Standard toolbar icon Learning Excel Discussion (Misc queries) 0 January 14th 10 12:57 AM
Sheet removal...help please Terry Excel Discussion (Misc queries) 2 July 19th 05 11:12 PM
Excel Standard Toolbar button addition/removal problems? Valerie Dyet Excel Discussion (Misc queries) 1 July 13th 05 10:01 PM
validation - removal from whloe sheet Todd F.[_2_] Excel Programming 3 December 21st 04 04:33 PM
Stop message to UnProtect Lulu[_2_] Excel Programming 3 September 28th 04 01:47 AM


All times are GMT +1. The time now is 08:45 PM.

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

About Us

"It's about Microsoft Excel"