Saturday, January 19, 2019

microsoft excel - Allowing users to unhide (format) only chosen columns

TL;DR, what I want to achieve:



  • Hide some columns which I do not want to show to anyone (check)

  • Hide some columns which I want to show only to some users (check)

  • Set separate passwords for both column groups (one I would not disclose, and the other I would disclose to selected users) (uncheck)


But the problem is that:



  • If I check "Allow all users to format columns" on level of protecting whole sheet, ALL columns may be unhidden by anyone

  • If I set password for range ("allow users for editing ranges"), while "allow all users to format columns" is unchecked, no column can be unhidden without knowing the superior password (which protects also the columns which I do not want to show to anyone)


Full story:


I have an excel file which I would like to share. There are certain hidden columns, which I do not want anyone to unhide. But on the other hand there are 2 columns which I would like to be protected in a way that some users are able to view (unhide) them.


I have dug into protecting sheets, giving users access to ranges, etc, but I can't manage to find a solution to column hiding/unhiding.


I tried hiding all of the columns (the ones that I want perma-hidden and the ones that I want to be unhidden by some users) and setting a password for the sheet editing. Then, I figured that I would set a separate password for editing ranges (and I selected the columns I wanted). But still, its not possible to unhide the separate range (consisting of columns I want to show to some users by giving them password to this particular range).


So I tried implementing something on the level of whole sheet and found out that there is attribute "Allow all users.." -> "Formatting columns". But then, all of the users will be able to unhide ALL of the columns (and I only want them to be able to unhide columns I choose).


BTW, I use Excel 2007.

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...