Lock and Unlock with Macro.

mm178

Board Regular
Joined
Dec 24, 2009
Messages
52
I am using Excel 2003. I have a dash board where students enter a user name and password to see their page only. Is there Some type of code that would allow me the instructor to Unlock all sheets in the work book for editing. or do i have to use the tool menu and the protection option for each sheet?

I lock the same cells for every students sheet so if i could find some type of macro lock that would lock the same cells or range of cells in every sheet for and would allow a password to unlock those cells.

I am currently using a code on each sheet that locks the unlocked cells once any information is put in.

I guess I was thinking my new code might be a workSheet code.

If anyone has any ideas please let me know.

thanks Mike
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,214,591
Messages
6,120,426
Members
448,961
Latest member
nzskater

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top