April 2006
Beginner
1114 pages
98h 16m
English
workbook.WritePassword [= setting]
Sets the workbook’s Password to Modify setting in Excel. Always returns "********". The following code removes a workbook’s Password to Open setting (read/write) and creates a read-only password:
Set wb = ThisWorkbook
wb.Password = ""
wb.WritePassword = "Excel2003"Read now
Unlock full access