Protecting File with Password
There is an Excel file that teaches how to perform the Protecting File with Password operation.
Excel Protecting File with Password
This workbook demonstrates protecting file with password using VBA macros on a 33-row data layout.
Hope it is useful.