I suppose if you have code you really want to protect - you can build a DLL file or an OCX file - then call it from your code. I have never done this in Excel - but cannot see any reason why you could not do it that way.
I would appreciate anybody who done it that way to comment on that idea.