> For the complete documentation index, see [llms.txt](https://interopxyz.gitbook.io/excel-plus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://interopxyz.gitbook.io/excel-plus/components/workbook/write-workbook.md).

# Write Workbook

Write a Workbook to a Memory Stream string

## Description

Write a Workbook to a Memory Stream string

{% tabs %}
{% tab title="Preview" %}
![](https://2501927618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fe08Uu2w6ybaOmfvcxkKf%2Fuploads%2FAyELheV1YEtA6tmE3zjo%2FWorkbook_Write.png?alt=media\&token=18b80a6a-2b12-4886-aaf2-d376b3bd1946)
{% endtab %}

{% tab title="Location" %}
**Name** | Write Workbook

**Nickname** | Write Wbk

**Tab** | ExcelPlus

**Panel** | Workbook

**Division** | 4
{% endtab %}

{% tab title="Inputs" %}
**Wbk** | **Workbook** (*workbook*) | A Worksheet, Workbook, Range, or Workbook Name

**\_A** | **Activate** (*bool*) | If true, the component will be activated
{% endtab %}

{% tab title="Outputs" %}
**Wbk** | **Workbook** (*workbook*) | An Excel Workbook Object

**S** | **Stream** (*bool*) | The memory stream
{% endtab %}

{% tab title="Mode" %}
*none*
{% endtab %}
{% endtabs %}

## Usage
