Workbook.Deactivate Event
Occurs when the chart, worksheet, or workbook is deactivated.
Syntax
expression.Deactivate
expression A variable that represents a Workbook object.
Return Value
nothing
Example
This example arranges all open windows when the workbook is deactivated.
| Visual Basic for Applications |
|---|
|