Protecting File with Password
There is an Excel file that teaches how to perform the Protecting File with Password operation.
Excel Professional Protecting File with Password
This workbook encrypts the workbook with a password verification system using VBA with a 20-row config sheet.
Hope it is useful.