VBA340 — RaiseEvent target has no matching Event declaration¶
Severity: 🔴 error Category: events Phase: 3.2
Description¶
Events can only be raised from the class that declares them.
Failing example¶
Compliant example¶
How to fix¶
Declare Public Event <Name>(...) at module level, or fix the event name.
Source: src/rules.py — entry VBA340.