> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/version-1.52-de-preview/clearlines-funktionen/import-export-funktionen/downloadexcel.md).

# DOWNLOADEXCEL

Erzeugt eine Excel-Datei mit dem Inhalt eines Tabellen Widgets und lädt diese herunter.

#### Syntax

**DOWNLOADEXCEL**(*widget*; *fileName*)

1. *widget* - das Tabellen Widget, dessen Inhalt als Excel-Datei verwendet werden soll - ***Wertetyp**: Tabellen-Widget*
2. *fileName* - der Name, unter dem die Excel-Datei heruntergeladen wird - ***Wertetyp**: Text (optional, Standardwert: der Name der aktuellen Seite)*

#### Beispiel

Ein Klick auf das Schaltfeld "Download Excel" erzeugt eine Excel-Datei mit dem Inhalt der Tabelle *wineList, und lädt diese anschließend mit dem Dateinamen "Winelist.xlsx" herunter.*&#x20;

<div align="left"><figure><img src="https://2998357603-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUHij42nMV8tut4oUjbNm%2Fuploads%2Ft28wqLghzG68XzDIMD4n%2Fimage.png?alt=media&amp;token=48891f66-0456-4127-a160-b334a2ff2a33" alt=""><figcaption></figcaption></figure></div>
