VBA191 — Missing #End If¶
Severity: 🔴 error Category: preprocessor Phase: 3.8
Description¶
Every #If conditional-compilation block must be closed with #End If.
Failing example¶
Compliant example¶
How to fix¶
Add the #End If that closes the #If block.
Source: src/rules.py — entry VBA191.