CommandChecked Event

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Occurs when the the specified Microsoft Office Web Component determines whether a command is checked.

Private Sub object**_CommandChecked (ByVal Command As Variant, ByVal Checked As ByRef)**

object   A ChartSpace, PivotTable, or Spreadsheet object.

Command  Required. The command that has been executed.

*Checked *Required. Set the Value property of this object to True to uncheck the command.

Remarks

The OCCommandId, ChartCommandIdEnum, PivotCommandId, and SpreadsheetCommandId constants contain lists of the supported commands for each Web component.