Extra Members for Outlook Controls

Outlook controls have access to a set of members that belong to the Microsoft Forms 2.0 Control interface. These members include the following properties:

And the following methods:

Because these members are not part of the Outlook object model, they are not displayed in the object browser and are not supported by intellisense. However, you can search for specific help topics for these members in the Outlook Developer Help. To access these members, you can directly reference the member, as in the following example, an OlkTextBox control, TextBoxControl, accesses the ControlTipText property directly with the following line of code.

TextBoxControl.ControlTipText = "Enter name of product here"

Alternatively, you can add a reference to the Microsoft Forms 2.0 type library (fm20.dll) and bind the Outlook control dynamically at runtime, as in the following code sample.

Sub AddControlTip() 
 Dim TextBoxControl As OlkTextBox 
 Dim ictrl As MSForms.Control 
 
 Set ictrl = TextBoxControl 
 ictrl.ControlTipText = "Enter product description here" 
End Sub

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.