Avatar of Rayne
Rayne
Flag for United States of America asked on

enable sorting on protected sheet vba

Hello

mySheet.Protect Password:=myPassword, DrawingObjects:=True, Contents:=True, Scenarios:=True, AllowFormattingColumns:=True, AllowFiltering:=True, UserInterfaceOnly:=True, AllowSorting:=True
I added the allow sorting but still….
still on protection, the sorting is giving error – see attached
willNotSort.jpg
Microsoft ExcelMicrosoft OfficeVBA

Avatar of undefined
Last Comment
Martin Liss

8/22/2022 - Mon
Rayne

ASKER
what vba code i need to make the sorting work after protection?
Rayne

ASKER
ASKER CERTIFIED SOLUTION
Martin Liss

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Martin Liss

Rayne, why the "B" grade? Please see this EE article on grading which says
A "B" grade means the solution given lacked some information or required you to do a good amount of extra work to resolve the problem. When closing the question, the asker should explain why a B grade was awarded.
Please consider Requesting Attention so that a moderator can help you change the grade.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Rayne

ASKER
Sure I will do that
Martin Liss

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.