I need help in creating a VBA code to automatically enable AutoFilter from B7:N7 when sheet 2 is selected. Sheet 2 is protected with a password and cell B7:N7 is locked.

Hope anyone can help me. Thanks.