VBR00424: Object required
Severity: Error · Family: VBR (runtime semantics) ·
Source metadata: VBRuntimeErrorInfo
An object is required where a value is given.
MS-VBA run-time error 424; the numeric portion of the code is the error's number. This code is raised by BinaryRelationalOperatorRuntimeSemantics, LetCoercionRuntimeSemantics, RuntimeExpressionEvaluator, SetCoercionRuntimeSemantics.
How it is raised
| Situation | Example | Resolution |
|---|---|---|
| An object is required where a value is given. | Set x = 1, x.Name when x is not an object |
Use an object. |
A Variant that holds no object is given to a ByVal parameter declared as a class or Object. |
TakeThing v where v holds 5 |
Pass an object, or Nothing. |
See also
ACCUEIL • HOME | ℹ️ BIENVENUE • WELCOME | 🧩 BÂTISSONS • BUILD | RD-VBAL | SDK | 🌐 rubberduckvba.ca