VBA211 — Object assignment without Set¶
Severity: 🔴 error Category: assignment Phase: 2.2
Description¶
Assigning to an Object-typed variable without Set is a compile error in VBA.
Failing example¶
Compliant example¶
How to fix¶
Prepend Set to the assignment.
Source: src/rules.py — entry VBA211.