Share via


ActiveWorkbook Property

Returns a Workbook object that represents the open workbook.

expression.ActiveWorkbook

*expression   * Required. An expression that returns a Spreadsheet object.

Example

This example protects the structure of the open workbook in Spreadsheet1.

Speadsheet1.ActiveWorkbook.Protect , True

Applies to | Spreadsheet Object

See Also | Workbook Object