# TrackedChangeNext Method

> Returns the identifier of the tracked change that follows a given one, or of the first when zero is passed, to enumerate all tracked changes.

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

---

This method returns the identifier of the tracked change that follows the specified tracked change in the Text Control's current text. It can be used to find the next tracked change in the text or to enumerate all tracked changes.

Introduced: 26.0.

### Syntax

```vbscript
TXTextControl.TrackedChangeNext TrackedChangeId
```

### Parameters

| Parameter | Description |
|---|---|
| TrackedChangeId | Specifies a tracked change identifier. If this parameter is zero, the identifier of the first tracked change is returned. |

### Return Value

The method returns the identifier of the tracked change that follows the specified tracked change. It returns zero when there is no following tracked change.

### Data Types

| Name | Data type |
|---|---|
| TrackedChangeId | Long |
| Return value | Long |

### See Also

- [Programming Category: Tracking Document Changes](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/track-changes/llms-full.txt)

---

## Nearby

- **Previous:** [TrackedChangeKind Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/trackedchangekind-property/llms-full.txt)
- **Next:** [TrackedChangeStart Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/trackedchangestart-property/llms-full.txt)
