# PageSelect Method

> Selects the page with a given number in TXTextControl, the first page having the number 1, and returns True, or False when the specified page does not exist.

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

---

This method can be used to select the specified page.

Introduced: 21.0.

### Syntax

```vbscript
TXTextControl.PageSelect Number
```

### Parameters

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

### Return Value

The return value is True, if the specified page could be selected. Otherwise, it is False. False is returned, if the specified page 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:** [PageOrientation Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageorientation-property/llms-full.txt)
- **Next:** [PageStart Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagestart-property/llms-full.txt)
