CALL Function in Excel: Call a DLL Procedure

CALL Function in Excel: Call a DLL Procedure 1
⏱ 1 min readUpdated 5 October 2026

Add-in & automationLevel: ExpertAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. CALL in practice
  5. Where you will use it
  6. Worked example
  7. Mistakes people make
  8. Related functions

CALL calls a procedure in a DLL or code resource. It is an old Excel 4.0 macro-era function, disabled by default for security and not usable from a normal worksheet cell in modern Excel.

Advertisement

Syntax

=CALL(register_id, [argument1], ...)
Argument What it means
arguments Depend on the DLL or RTD server

Examples

Example 1

=CALL(register_id, [argument1], ...)

Result: (depends on the installed server). See the worked example table below for more cases.

CALL in practice

Where you will use it

  • Understanding very old workbooks
  • Developer integrations
  • Auditing legacy files

Worked example

ExampleFormulaResult
see syntax=CALL(register_id, [argument1], ...)(depends on the installed server)

Needs external software, so it is not calculated here.

Mistakes people make

MistakeWhat to do instead
Expecting it to work out of the boxNeeds the external server/DLL and trust settings
SecurityOnly use RTD servers and DLLs from trusted vendors

WEBSERVICE

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

Advertisement
✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong