Why Do I Get A Compile Error Using VBA Hex$ Command? - CX-Server Lite version 1.0/OPC version 1.0

Modified on Sun, 11 May, 2025 at 10:09 PM

When a CX Display Control is used, it may cause compile errors of the standard VBA command Hex$.

This is because this control contains a reference to a member format called Hex which can confuse the compiling engine. Either modify the priority of the References, or explicitly define the Hex$ function when needed by typing:
 

VBA.Conversions.Hex$
 

Related Products
CX-Server Lite 1.1 and CX-Server OPC 1.0

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article