OlActionShowOn enumeration (Outlook)

Identifies where an Action is displayed as an available action.

Name Value Description
olDontShow 0 Indicates that the action will not be displayed on the menu or toolbar.
olMenu 1 Indicates that the action will be displayed as an available action on the menu.
olMenuAndToolbar 2 Indicates that the action will be displayed as an available action on the menu and the toolbar.

Remarks

Displaying an action on a toolbar is only supported in versions of Outlook without the Office Fluent ribbon, before Microsoft Office Outlook 2007. In versions of Outlook that contain the Ribbon, custom actions are displayed only on the Custom Actions menu on the ribbon for an inspector, and on the context menu of an item.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.