This is not working. I am currently running Excel 2007. I go into view code --> tools --> VBA project properties --> protection tab and then I check the box and enter the password. I save, recheck it before closing and see that the password is still there and the box is ticked. After closing and reopening, I can go into my code and the protection tab is then blank. I've tried right clicking the module, but no luck. Any advice on what could be wrong?