VBA224 — Property Let value parameter is object (use Set)¶
Severity: 🔴 error Category: property Phase: 2.3
Description¶
Property Let is for scalar RHS values. Object types use Property Set.
Failing example¶
Compliant example¶
How to fix¶
Rename the accessor to Property Set.
Source: src/rules.py — entry VBA224.