I\'ve spent some time writing an Excel Macro that is potentially worth money to a lot of companies.
How can I lock down the macro to prevent people seeing the source
you can set a password to your vba code but this can be quite easily broken up.
you can also create an addin and compile it into a DLL. See here for more information. That's at least the most secure way to protect your code.
Regards,