OlkControl.Format property (Outlook)

Returns or sets a Long that specifies how a value is to be displayed in the control. Read/write.

Syntax

expression.Format

expression A variable that represents an 'OlkControl' object.

Remarks

The Format property can be a constant in an enumeration that describes how to display a value. For example, you can specify Format as the constant olFormatCurrencyDecimal that is defined in the OlFormatCurrency enumeration to display a currency value in an OlkTextBox control.

The Format property is specific to the property in the Outlook Object Model that the control is bound to. The latter is indicated by OlkControl.ItemProperty. If the control is not bound to any property, then accessing Format will return an error.

See also

OlkControl Class

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.