> For the complete documentation index, see [llms.txt](https://docs.kognitos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kognitos.com/legacy/legacy-experience/automation-areas/excel-v2/get-a-worksheet/extract-text-from-a-worksheet.md).

# Extract Text from a Worksheet

Extracts all text from an Excel worksheet

### Overview

This procedure extracts text from an Excel worksheet, providing a spatial representation of the data.

{% hint style="warning" %}
Extracting text from large Excel worksheets may be slow and is **not** recommended.
{% endhint %}

### Syntax

Below is a line-by-line overview of the automation syntax. Expand each line to learn more.

<details>

<summary><code>extract text from the worksheet</code></summary>

#### What does it do?

Extracts all text content from the current worksheet.

#### Where does it go?

This phrase should be written on a **new line**.

#### Is it required?

✅ Yes — This phrase is **required**.

#### Does it require data?

✅ Yes — A reference to **the worksheet** must be defined in the automation.

</details>

### Examples

#### 1. Extract Text from an Excel Worksheet

```
extract text from the worksheet
```
