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