Compile Errors


Compile Error - Constant Expression Required

The constant "sPROCNAME" is not found.

Comment out the constant, so the compiler gives a "variable not found" error message and then undo the comment.


Compile Error - Ambiguous Name Detected

Same procedure names
Same variable names


Compile Error - ByRef argument type mismatch

An argument passed ByRef must have the precise data type.
If the data types are different you will see a "ByRef argument type mismatch" error message.
In this example we are passing an Integer variable when a Long is expected.


Compile Error - Invalid outside procedure


Compile Error - Invalid qualifier


Compile Error - Only user defined types defined


Compile Error - Procedure too long



© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrevNext