# Workbook.batch Method

> Workbook.batch method in the Node.js TypeScript API: Runs an action as one batch with an optional source string and returns void, with a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > Workbook > Workbook.batch Method
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbook/batch-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbook/batch-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbook/batch-method/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbook/batch-method/#syntax)
- [Parameters](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbook/batch-method/#parameters)
- [Return Value](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbook/batch-method/#return-value)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbook/batch-method/#examples)
- [Remarks](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbook/batch-method/#remarks)
- [See Also](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbook/batch-method/#see-also)

---

## Nearby

- **Previous:** [Workbook.autoExpand Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbook/autoexpand-property/llms.txt)
- **Next:** [Workbook.calculation Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbook/calculation-property/llms.txt)
