Table of Contents

VBC09349 — Named argument not found

Severity: Error  ·  Family: VBC (static semantics / abstract syntax tree)  ·  Source metadata: VBCompileErrorInfo

A call names a parameter the procedure does not declare.

A named argument goes to the parameter of that name: the procedure must declare one.

MS-VBA reports the same error, with the same message (recorded in Excel).

This code is raised by ObjectValueStaticSemantics.

How it is raised

Situation Example Resolution
A name the procedure does not declare. Twice(Q:=1) of a Twice(N As Long) Use the parameter's declared name.

See also


⏮️ VBC09348 Named argument already specified | ⏭️ VBC09350 Constant expression required


ACCUEIL • HOME | ℹ️ BIENVENUE • WELCOME | 🧩 BÂTISSONS • BUILD | RD-VBAL | SDK | 🌐 rubberduckvba.ca