VBA010 — Syntax error¶
Severity: 🔴 error Category: syntax Phase: 0
Description¶
Generic syntax error (unexpected End X, missing Then, stray block terminator …).
Failing example¶
Compliant example¶
How to fix¶
Check the surrounding tokens — typical causes are missing Then or mismatched block keywords.
Source: src/rules.py — entry VBA010.