Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 1.27 KB

Outlook.OlkComboBox.SelLength.md

File metadata and controls

42 lines (24 loc) · 1.27 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
OlkComboBox.SelLength property (Outlook)
vbaol11.chm1000222
vbaol11.chm1000222
Outlook.OlkComboBox.SelLength
3cbd5016-3868-6cf9-c28c-8d692620f367
06/08/2017
medium

OlkComboBox.SelLength property (Outlook)

Returns or sets a Long that specifies the number of characters in the current selection. Read/write.

Syntax

expression. SelLength

expression A variable that represents an OlkComboBox object.

Remarks

The current selection is specified by SelText, which is a portion of the control's Value. The maximum number of characters that can be supported for Value is MaxLength.

The default value is zero, which means no text is currently selected.

The SelLength property is always valid, even when the control does not have focus.

Setting SelLength to a value less than zero causes an error. Attempting to set the value greater than MaxLength results in setting SelLength to MaxLength.

See also

OlkComboBox Object

[!includeSupport and feedback]