CommandTipText Event

Microsoft Office Web Components Object Model

CommandTipText Event

       

Occurs when the the specified Microsoft Office Web Component queries a command's ScreenTip text.

Private Sub object_CommandTipText (ByVal Command As Variant, ByVal Caption As ByRef)

object   A ChartSpace, PivotTable, or Spreadsheet object.

Command  The command that has been executed.

Caption  The Value property of this object contains the ScreenTip text for the command.

Remarks

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