# UPLOAD

#### Syntax <a href="#syntax.15" id="syntax.15"></a>

**UPLOAD**()

#### Remarks <a href="#examples.1" id="examples.1"></a>

* Calling this function uses the standard upload processing of the browser to store the file on the local computer.&#x20;
* The function returns the content of the uploaded file as unformatted text.
* In case that any error occurs, !ERROR is returned.
* In the combination with CSVTORANGE, the UPLOAD function can be used to restore the content of any table widget from a file located on the client computer. &#x20;

#### Examples <a href="#examples.1" id="examples.1"></a>

Clicking on the "Upload" button opens the "Open file" dialog in the browser. After the user has selected the file to upload, the text content is copied to cell1. &#x20;

<figure><img src="https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/ChzBFhr6mOhyppoBnVlk/grafik.png" alt=""><figcaption></figcaption></figure>

In combination with CSVTORANGE, the UPLOAD function can be used to fill the content of a table widget with the content of a csv file on the client computer. The formula of the "Upload" button is here analogue to the previous example: #cell2 = UPLOAD()&#x20;

<figure><img src="https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/GwtWu2EP17s0rU9jDbEN/grafik.png" alt=""><figcaption></figcaption></figure>
