Hi everyone!
I'm facing quite a challenge on this one. I have a table on a worksheet that needs to stay locked (users can't modifiy the cells) but still users should be able to filter and sort that table.
I have tried everything and saw forum solutions but none work.
Here's my best shot so far (useless):
Thanks!!
I'm facing quite a challenge on this one. I have a table on a worksheet that needs to stay locked (users can't modifiy the cells) but still users should be able to filter and sort that table.
I have tried everything and saw forum solutions but none work.
Here's my best shot so far (useless):
Code:
With Sheet1
.Protect Password:="test", AllowFiltering:=True, AllowSorting:=True, userinterfaceonly:=True
.EnableAutoFilter = True
.EnableSelection = xlNoRestrictions
End With
Thanks!!