ShowOn Property

OlActionShowOn

OlActionShowOn can be one of these OlActionShowOn constants.
olDontShow
olMenu
olMenuAndToolbar

expression**.ShowOn**

*expression   * Required. An expression that returns an Action object.

Applies to | Action Object