Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel lock sheet

Status
Not open for further replies.

Per9922

IS-IT--Management
Oct 1, 2004
74
SE
Hello, I have some problem with the lock sheet function! if I tick the first three when I lock the sheet:

Mark lock cells
Mark none locked cells
Format cells

I then have two buttons on my sheet, one unlock the sheet and the other lock the sheet, when I lock the sheet, the format cells box is unticked ?

ThisWorkbook.ActiveSheet.Protect <- This will untick the format cells box, why ?

ThisWorkbook.ActiveSheet.Unprotect

Plese help
 
I need to have it protected so the user dont't change stuff ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top