Workbook.SheetDeactivate Event
Occurs when any sheet is deactivated.
Syntax
expression.SheetDeactivate(Sh, )
expression An expression that returns a Workbook object.
Parameters
| Name | Required/Optional | Data Type | Description |
|---|---|---|---|
| Sh | Required | Object | The sheet. Can be a Chart or Worksheet object. |
Example
This example displays the name of each deactivated sheet.
| Visual Basic for Applications |
|---|
|