# NamedRangeCollection.set Method

> NamedRangeCollection.set method in the TX Sheet Control TypeScript API for Node.js: Creates or replaces a definition without expanding a rectangular worksheet.

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

---

## On This Page

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

---

## Nearby

- **Previous:** [NamedRangeCollection.remove Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/namedrangecollection/remove-method/llms.txt)
- **Next:** [NativeLoadOptions Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/nativeloadoptions/llms.txt)
