VBA136 — Array parameter passed ByVal¶
Severity: 🔴 error Category: signature Phase: 2.10
Description¶
Array parameters must be passed ByRef; ByVal arrays are illegal in VBA.
Failing example¶
Compliant example¶
How to fix¶
Change the parameter mechanism to ByRef (the default).
Source: src/rules.py — entry VBA136.