Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.49 KB

Outlook.OlkComboBox.SelStart.md

File metadata and controls

40 lines (23 loc) · 1.49 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
OlkComboBox.SelStart property (Outlook)
vbaol11.chm1000221
vbaol11.chm1000221
Outlook.OlkComboBox.SelStart
f3141a7c-b9a5-b738-8803-9100e2283dc1
06/08/2017
medium

OlkComboBox.SelStart property (Outlook)

Returns or sets a Long that specifies either the starting point of the selected text or the insertion point if no text has been selected. Read/write.

Syntax

expression. SelStart

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 selected and the insertion point is at the beginning.

The SelStart property is always valid, even when the control does not have focus. Setting SelStart to a value less than zero causes an error. Setting SelStart to a value greater than MaxLength will reset SelStart to MaxLength. Changing the value of SelStart cancels any existing selection, places the insertion point in the text, and sets the SelLength property to zero.

See also

OlkComboBox Object

[!includeSupport and feedback]