# MisspelledWordLength Property

> Returns the length of the misspelled word with a given number; assign it to SelLength, and MisspelledWordStart to SelStart, to select the misspelled word.

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

---

Gets the length of the misspelled word with the specified number. To select this misspelled word the [MisspelledWordStart](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/misspelledwordstart-property/llms-full.txt) property must be assigned to the [SelStart](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/selstart-property/llms-full.txt) property and this property must be assigned to the [SelLength](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sellength-property/llms-full.txt) property.

Introduced: 16.0.

### Syntax

```vbscript
TXTextControl.MisspelledWordLength(Number)
```

### Parameters

| Parameter | Description |
|---|---|
| Number | Specifies the number of the misspelled word. All misspelled words are counted from the beginning to the end of a document. The first word has the number 1. |

### Data Types

| Name | Data type |
|---|---|
| Number | Long |
| Property value | Long |

### Limitations

Read only, run time only.

### See Also

- [Programming Category: Spell Checking](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/spell-checking/llms-full.txt)

---

## Nearby

- **Previous:** [MisspelledWordDelete Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/misspelledworddelete-method/llms-full.txt)
- **Next:** [MisspelledWords Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/misspelledwords-property/llms-full.txt)
