Here is my code I tried but it has failed
Sub TurnOffViewCode()
Application.CommandBars("Code").Enabled = False
End Sub
Here is my code I tried but it has failed
Sub TurnOffViewCode()
Application.CommandBars("Code").Enabled = False
End Sub