Table of Contents

VBC09354 — Invalid qualifier

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

A member is accessed on a value that has no members.

A number, a String, a Boolean or a Date is a value, with no members: only an object, a user-defined type, a module or an enumeration has members to access with a dot.

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

This code is raised by MemberAccessExpressionStaticSemantics.

How it is raised

Situation Example Resolution
A member of a Long. Dim n As Long … Debug.Print n.Value Remove the member, or declare the variable as the class that has it.

See also


⏮️ VBC09353 Division by zero | ⏭️ VBC09355 Function call on left-hand side of assignment must return Variant or Object


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