This documentation is archived and is not being maintained.

CommandChecked Event

Office 2003

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.


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