Expanding and Collapsing Groups within a Protected Workbook

G

Guest

In Excel 2003, I created groups that are expandable and collapsable (by
clicking on the + and - notations on the left) through Data->Group and
Outline->Group.
This group contains two columns where column A is locked and Column B is not
locked.
When I apply protection on the worksheet in order to avoid any changes to
Column A, the functionality of expanding and collapsing the group is not
allowed.
Is there any way way to still allow the collapsing and expanding of groups
while protected?
 
A

arno

Hi blue,
In Excel 2003
When I apply protection on the worksheet in order to avoid any
changes to Column A, the functionality of expanding and collapsing
the group is not allowed.

I do not have xl 2003 but I think there is an option what you can do
and what you cannot in the menu you use when protecting. So look at
what options are in "Extras/Protection/ProtectSheet Users are allowed
to ..." and activate filter and grouping.

Otherwise, with VBA, before protecting run

For i = 1 To ActiveWorkbook.Sheets.Count
Sheets(i).EnableOutlining = True
Sheets(i).EnableAutoFilter = True
Next

to allow Outlining and Filters on all sheets.

arno
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top