Export a module to .bas file -> No Password

  • Thread starter Thread starter Excel_Newb
  • Start date Start date
E

Excel_Newb

If I export a module (from personal.xlsb) to a .bas file, and then import the
file into another users personal.xlsb, the module doesn't ask for a password
to view the code. On my personal.xlsb it prompts for the password. How do I
password protect this code?
 
I was more curious than anything....but wouldn't plain text be an issue in an
Intellectual Property scenario?
 
No sorry, I was misleading. I was speaking more to the realm of hiding code
from a customer that you wanted to sale the module to. If the code is in
plain text, essentially they can reverse engineer what you have done.

Again, this is not the case for me, I was just curious as to why the
password properties doesn't follow in the event of an export. I realize that
it's a function of the VBA in Excel, and not the .bas file itself. But was
just curious if there is a way to export the code and keep the protected
state (similar to a class).
 
Back
Top