protect worksheet but allow

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Protect a Worksheet but Allow Grouping

Protect a Worksheet but Allow Grouping

resolvedResolved · Medium Priority · Version 2013

Adam has attended:
Excel Advanced course

Protect a Worksheet but Allow Grouping

Hi, is there a way to protect a worksheet so no formulas are lost or damaged but still allow grouping function to work?

RE: Protect a Worksheet but Allow Grouping

Hi Adam,

Thank you for the forum question.

I am sorry that we haven't answered you before now.

I am also sorry to tell you that it isn't possible. The sheet must be unprotected to use the grouping function.

I tried also to see if it is possible to write a VBA code to do it and normally everything is possible if you use VBA but unfortunately it was not possible.

Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

RE: Protect a Worksheet but Allow Grouping

Hi Adam,

Thank you for the email.


In earlier version of Excel you couldn't expand or collapse grouped data if the sheet was protected. The code you sent me is for earlier versions of Excel to be able to collapse or expand grouped data.

You can do this now in version after 2003. What you cannot do is to group the data in a protected sheet using the outline tool.

I have tested many codes. You unfortunately need to unprotect the sheet to setup your groups but you can collapse or expand the data in a protected sheet.


Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Will be marked as resolved in 5 days

Notice: This is an automated message. Due to inactivity, this forum post will be marked as 'resolved' if there are no further responses in the next 5 days.

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

How to apply the same formatting and data to multiple sheets at the same time in Excel 2010

When you want to format more than one sheet in a worksheet exactly the same way, Ctrl-click the tabs of the sheets you want to group together and they will all turn white. While they are grouped, anything you enter in one sheet gets entered into the others.

After you have done this, remember to click on the tabs to take them out of the group so that you do not accidentally insert data in multiple sheets when you just want to insert data in one.

View all Excel hints and tips


Server loaded in 0.08 secs.