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

protect worksheet but allow

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

Protect a Worksheet but Allow Grouping

ResolvedVersion 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:

Importing Numbers in Excel 2010

Occasionally, when importing data into Excel you find that the some of the imported values are treated as text.

To convert these numbers to actual values, click on an empty cell and press Ctrl+C.

Next, select the range that contains the values you need to change and in the Clipboard Group on the Home tab, click the Paste drop-down arrow and choose Paste Special. In the Paste Special dialog box, select Add and then click OK.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.