> For the complete documentation index, see [llms.txt](https://hiimmaxx7s-organization.gitbook.io/gpm-automate/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hiimmaxx7s-organization.gitbook.io/gpm-automate/no-code-automation/file-and-folder/write-excel-file.md).

# Write excel file

**File Path:** đường dẫn file excel.\
**Sheet index:** Index của sheet cần đọc trong file excel (bắt đầu từ 0).\
**Column Name or Index:** Tên cột, bắt đầu từ A, B, C,.. hoặc index bắt đầu từ 1 (cột 1).\
**Row Index:** Bắt đầu từ 1 (hàng 1).

**Ví dụ thực tế:**

Giả sử bạn muốn ghi giá trị vào excel khớp theo đúng từng dòng tương ứng với profile đang chạy. Kết hợp biến **$inputExcelFileLocation** và **$inputExcelCurrentRow**

<figure><img src="/files/0Poni0YX2qSAcshHXpfs" alt=""><figcaption><p>Input Excel</p></figcaption></figure>

<figure><img src="/files/mzXUR41t7V9ia3Pi5X29" alt=""><figcaption><p>For</p></figcaption></figure>

<figure><img src="/files/4jl6BWsjEgZhDTlx76ZH" alt=""><figcaption><p>Write Excel</p></figcaption></figure>
