intsoccersuperstar
New Member
- Joined
- Feb 3, 2013
- Messages
- 32
I have a protected file that has its column names in B6:K6 and data below. It is protected with the password "secret password".
When the user hits a button, I have code that unlocks the sheet like so...
Worksheets("MyOutput").Unprotect "secret password"
My code then does its business, and then to re-protect the sheet I have
Worksheets("MyOutput").Protect "secret password"
Users are allowed to select the locked cells, but they would also like to be able to filter. Remember, the column titles are in cells B6:K6, not the first row.
How can I go about allowing them to filter? I've googled but all suggestions seem to be dependent on the column names being in the first row.
Thanks in advance!
When the user hits a button, I have code that unlocks the sheet like so...
Worksheets("MyOutput").Unprotect "secret password"
My code then does its business, and then to re-protect the sheet I have
Worksheets("MyOutput").Protect "secret password"
Users are allowed to select the locked cells, but they would also like to be able to filter. Remember, the column titles are in cells B6:K6, not the first row.
How can I go about allowing them to filter? I've googled but all suggestions seem to be dependent on the column names being in the first row.
Thanks in advance!