# SelStart Property

> Sets or returns the zero-based start of the selection or the insertion point; values beyond the text length are limited, and -1 moves it to the document's end.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > SelStart Property
- **162 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/selstart-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/selstart-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/selstart-property/llms-full.txt

---

Returns or sets the starting point of text selected or indicates the position of the insertion point if no text is selected. The first text position has a value of 0.

### Syntax

```vbscript
TXTextControl.SelStart [= value]
```

### Data Types

Long.

### Limitations

Run time only.

### Remarks

Setting the property value greater than the text length limits it to the existing text length. Setting this property to -1 will set the starting point for a selection to the document's end.

### See Also

- [SelLength Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sellength-property/llms-full.txt)
- [SelText Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/seltext-property/llms-full.txt)
- [Programming Category: Text Selections and Character Input](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/selections/llms-full.txt)

---

## Nearby

- **Previous:** [SelLength Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sellength-property/llms-full.txt)
- **Next:** [SelText Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/seltext-property/llms-full.txt)
