Workbook.Password (Excel)
Returns or sets the password that must be supplied to open the specified workbook.
Use strong passwords that combine uppercase and lowercase letters, numbers, and symbols. Weak passwords don't mix these elements.
ActiveWorkbook.Password =