Workbook.WritePassword (Excel) Returns or sets a String for the write password of a workbook. ActiveWorkbook.WritePassword =