expression.ActiveWorkbook
expression Required. An expression that returns a Spreadsheet object.
This example protects the structure of the open workbook in Spreadsheet1.
Speadsheet1.ActiveWorkbook.Protect , True
Submit feedback about this site to: