Skip to content

VBA132 — More than one ParamArray

Severity: 🔴 error Category: signature Phase: 2.10

Description

A procedure may declare at most one ParamArray.

Failing example

Sub S(ParamArray a() As Variant, ParamArray b() As Variant): End Sub

Compliant example

Sub S(ParamArray a() As Variant): End Sub

How to fix

Keep a single ParamArray and pass the rest explicitly.


Source: src/rules.py — entry VBA132.