I have been trying to lock my code (right-clicking on VBA Project Name from explorer bar on left of VBA Editor > Going to Project Properties > Going to Protection tab > Checking 'Lock Project for viewing' > Entering Password (twice) > Saving project > Saving Excel file > Closing and reopening). When I do this it does not protect VBA project. I can open it and view/edit it with no problem. When I go back to Project Properties, my 'Lock Project for Viewing' is no longer checked and the password boxes are empty. What am I doing wrong?