How to protect VBA code?

Is there a way to protect a SolidWorks VBA code?. The idea is to block the source code to be viewed and edited and allow user access only to the application forms.

SolidworksApi macros