Hi All,

I've been "Googling" this all day and can't work this out. I'm really new to VBA and need very basic instructions on how to fix this. From what I've read it's a common problem, I just don't know what to do.

I'm basically trying to sort the data and it works fine when unprotected but I get the error message when protected. When I go to debug, the following is highlighted.

Selection.Sort Key1:=Range("Overall_key"), Order1:=xlAscending, Header:=xlNo, _
        OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
        DataOption1:=xlSortNormal
Can anyone help please? Thanks.