# ParagraphSelect Method

> Selects the paragraph with a given number in TXTextControl, where the first paragraph is 1, and returns True, or False when the paragraph does not exist.

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

---

This method can be used to select the specified paragraph.

Introduced: 22.0.

### Syntax

```vbscript
TXTextControl.ParagraphSelect Number
```

### Parameters

| Parameter | Description |
|---|---|
| Number | Specifies the paragraph's number. The first paragraph has the number 1. |

### Return Value

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

### Data Types

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

### See Also

- [Programming Category: Paragraph Formatting](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/paragraph-formatting/llms-full.txt)

---

## Nearby

- **Previous:** [ParagraphFormatChange Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/paragraphformatchange-event/llms-full.txt)
- **Next:** [Paste Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/paste-method/llms-full.txt)
