# SectionSelect Method

> Selects the section with a given number, starting at 1, in TXTextControl and returns True, or False when the section does not exist or cannot be selected.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > SectionSelect Method
- **199 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionselect-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionselect-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionselect-method/llms-full.txt

---

This method can be used to select the specified section.

Introduced: 21.0.

### Syntax

```vbscript
TXTextControl.SectionSelect Number
```

### Parameters

| Parameter | Description |
|---|---|
| Number | Specifies the section's number. The first section has the number 1. To get the number of the section at the text input position the [SectionAtInputPos](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionatinputpos-property/llms-full.txt) property can be used. |

### Return Value

The return value is True, if the specified section could be selected. Otherwise, it is False. False is returned, if the specified section does not exist.

### Data Types

| Name | Data type |
|---|---|
| Number | Long |
| Return value | Boolean |

### See Also

- [Programming Category: Sections and Pages](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/sections-pages/llms-full.txt)

---

## Nearby

- **Previous:** [SectionRestartPageNumbering Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionrestartpagenumbering-property/llms-full.txt)
- **Next:** [SectionStart Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionstart-property/llms-full.txt)
