|
1. Compile:
feasible. There is an edit menu in the VBA project, but this is not compiled into a binary file, but to help you see if there are errors in the code.
The way I want to protect is to add a password to the project, properties, and there. But to tell you the truth, it's easy to crack.
At present, I have not encountered any EXCEL VBA files that cannot be cracked.
2. Release:
I. Add an auto_run method to your VBA. The method name can't remember, but it must start with AUTO.
This is equivalent to the MAIN function.
I. Save your XLS as XLA.
II. Copy this XLA to the ADDIN directory of other users' EXCEL, and other users will open all their own EXCEL
Automatically load the AUTO_RUN method of your VBA, thus...
3. Other
If your VBA is really valuable, convert it to VB, it is safe after compilation! !
Otherwise, open source your VBA, the world needs open source. |
|