SafeRibbonControls object

 

SafeRibbonControls exposes the collection of control displayed by an Outlook ribbon.

 

Returned by:

SafeRibbon.Controls

 

The example below enumerates all controls displayed by the active Outlook Explorer.

set sExplorer = CreateObject("Redemption.SafeExplorer")
sExplorer.Item = Application.ActiveExplorer
for each Ctrl in sExplorer.Ribbon.Controls
    Debug.Print Ctrl.Name
next

 

 

Properties

Methods

 


Derived from: IDispatch


Properties


Count Integer, read-only.
Returns the number of controls displayed by a ribbon.
 

Methods


Item(IndexOrName) Returns a SafeRibbonControl object with the given index (1 through Count) or a name.