Locking Password Automatically
There is an Excel file that teaches how to perform the Locking Password Automatically operation.
Excel Locking Password Automatically
This workbook demonstrates locking password automatically using VBA macros on a 30-row data layout.
Hope it is useful.