---
title: "HandleError"
description: "De VBA-procedure HandleError toont een fout van een Excel-functie in de standaard Invantive-lay-out."
language: nl
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/nl/docs/invantive-control-for-excel/vba-procedures/handleerror
original: https://documentation.invantive.eu/en/docs/invantive-control-for-excel/vba-procedures/handleerror
updated: 2026-12-04T00:13:02Z
license: https://documentation.invantive.eu/nl/
---

De VBA-procedure `HandleError` toont een fout van een Excel-functie in de standaard Invantive-lay-out.

Parameters:
- `functionName`: naam van de Excel-functie die de fout veroorzaakt.

## Voorbeelden
`HandleError` wordt doorgaans vanuit VBA aangeroepen met behulp van logica zoals:

```vba
Function MY_FUNC() As String
    On Error GoTo Catch
    '
    MY_FUNC = "ANSWER"    
Finally:
    Exit Function
Catch:
    HandleError "MY_FUNC"
End Function
```


## Release Notes

- [Invantive Control for Excel](/nl/release-notes/products/invantive-control-for-excel)
  - [26.0 tot 27.0](/nl/release-notes/products/invantive-control-for-excel?step=26.0-to-27.0)
  - [25.0 tot 26.0](/nl/release-notes/products/invantive-control-for-excel?step=25.0-to-26.0)
