How can you hide rows "v" to "ao" and only allow unhide with password?

StillUnderstanding

Board Regular
Joined
Jan 30, 2021
Messages
80
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi Everyone,

I am trying to do something on a workbook but could really do with some help please!

First Part - I have a tab on a workbook that has a macro and data validation, the macro and validation relate only to rows "A" to "U", the idea is that a person comes into the tab and fills in the cells in the "A" to "U" section.
Second Part - Then an "Admin" type user would come into the tab and might want to make some notes that relate to the row that has been completed. They would make the notes in columns "V" to "AO" .

I don't want regular users of the tab to be able to see any of the data in "V" to "AO", Ideally I would like to hide that section and then password protect it.

I have tried a number of things:-
Protecting the tab - Causes problems with "A" to "U" resizing and macro function
Hiding V" to "AO" - Anyone can just unhide

can anyone help? or know of a good solution?

Thanks!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
1. Hide columns that you want.
2. Select all Cells (CTRL+A) , Right-Click and Select Format Cells.
3. Go to Protection Tab and Remove tick of the Locked Option. & Press OK.
4. GO to Review Tab & Select Protect Sheet.
5. Add tick to Select Locked Cells & Select Locked Cells (if don't have).
6. Add Password.
 
Upvote 0
I will give this a try, thank you @maabadi The only issue I can see here is that each person with admin access would need to do this and issues could come up as a result of doing the steps wrong or someone using a different password or a type.

Ideally doing it all on VBA and pressing a button to run hide and then another to run unhide.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,021
Latest member
Justyna P

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