I need to find some way of inhibiting access to macro code. I have an autorun macro which needs to be able to run but which must not be viewed or edited without a password.
"Private Sub test()" does hide the macro, but the code can still easily be accessed by hitting "Esc" while it is running. Does anyone know how to introduce a password to enable access to code?