Protect Method Example

This example protects the active workbook.

ActiveWorkbook.Protect Password := "drowssap"