Fixing 'Access Violation' Errors
This error can occur when using the “Lock VBA Project (simple VBA protection)” feature. To resolve it, remove the password from your VBA project before compiling the workbook with XLS Padlock. The password is not needed, as XLS Padlock will lock the project automatically without prompting for one.
Alternatively, you can try using a shorter password or switch to the Prevent access to VBA editor option.