If the code needs to be protected, maybe it's time to pull it out of the spreadsheet and create an actual application.

-tg