Hiding sheets with password

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,506
Office Version
  1. 2021
Platform
  1. Windows
I would like to know if there is a weay to hide sheets using a password? If so please let me know how to do this
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Do you want to do this with VBA ?
 
Upvote 0
Hi Michael

My apologies. I wanted to be able to hide columnsI:L on sheet1 using a password to unhide.

It would be appreciated if you would be able to provide me with the code
 
Upvote 0
Hi Howard,

it can be done in very easy steps..
1 select entire sheet right click goto cells formating and click on protection and make sure the proteced is unchecked. and next come to sheet and select your range (i:L) and right click and goto cells formating and protection tab make sure hidden is checked and come to sheet select your range and righ click and hide .. Now goto review tab protect the worksheet with password and now it is hidden and you have to enter password to unhide it.
 
Upvote 0

Forum statistics

Threads
1,202,977
Messages
6,052,887
Members
444,608
Latest member
Krunal_Shah

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