VBA004 — Invalid .member reference without With¶
Severity: 🔴 error Category: member_access Phase: 0
Description¶
A leading-dot member reference appears outside any With block.
Failing example¶
Compliant example¶
How to fix¶
Wrap the access in a With block or qualify the receiver explicitly.
Source: src/rules.py — entry VBA004.