Naming rule violation: Prefix '_' is not expected

Add-in Express™ Support Service
That's what is more important than anything else

Naming rule violation: Prefix '_' is not expected
Naming rule violation at Property _Module() when creating a new XLL addin 
Subscribe
Henri Pellemans




Posts: 8
Joined: 2023-08-10
I ran into a problem I never had before. Using VS2022 and Visual Basic. I created a new XLL addin and then a message shows up at

Friend Shared ReadOnly Property _Module() As Currency.XLLModule

Naming rule violation: Prefix '_' is not expected

As far as I can see I did not set a Naming rule for Property.

This issue does not happen in an existing XLL addin.

The only Naming rule I want is Camel Case for UDFs (in XLL) and in subs in Addin module.
Posted 19 Dec, 2025 08:50:31 Top
Andrei Smolin


Add-in Express team


Posts: 19190
Joined: 2006-05-11
Hello Henri,

Name rules are your responsibility. Add-in Express doesn't change them.

Regards from Poland (GMT+1),

Andrei Smolin
Add-in Express Team Leader
Posted 23 Dec, 2025 11:14:03 Top