Locked Sheet - Error msg to display to Users

D

Darin Kramer

Howdie,

Is there a way to change the standard display message when a user
selects a protected cell. ( I dont want the user to be able to see how
easy it is to unprotect sheet (For other reasons I am not implementing a
password to protect sheet) ?

Would just like to say "Sheet is protected. Contact X for assistance"

Thanks guys

Regards

Darin

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
T

Tom Ogilvy

If you have some cells that are unlocked, instead of using xlNoSelection,
use

me.EnableSelection = xlUnlockedCells


In the Thisworkbook module, you would have to use

Private Sub Workbook_Open()
Worksheets("Sheet1").EnableSelection = xlUnlockedCells
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top