# CALL Function

> Call a library procedure as the Excel macro function CALL does in TX Sheet Control, which needs a formula provider for it and returns #N/A without one.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > CALL Function
- **289 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/call/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/call/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/call/llms-full.txt

---

Call a procedure in a dynamic link library or code resource, as the Excel macro function CALL does. CALL requires host-provided data or an Excel-specific object: TX Sheet Control has no built-in implementation, and without a formula provider for it the function returns `#N/A`. `module_text` names the library, `procedure` the procedure, `type_text` the data types of the return value and arguments, and the further `argument` values are passed to the procedure.

### Syntax

```text
CALL(module_text, procedure, type_text, argument1)
```

Category: Compatibility. Minimum arguments: 3. Maximum arguments: 255.

> Important
>
> **Application Data or Provider Required.** Configure the documented provider rather than expecting automatic network or Excel-service access.

### Examples

```text
=CALL("library","procedure","J")
```

Without a provider for CALL, the formula returns `#N/A`.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [BYROW Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/byrow/llms-full.txt)
- **Next:** [CEILING Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/ceiling/llms-full.txt)
