VBA protection software – VbaCompiler for Excel
VBA Compiler for Excel is VBA protection software which converts the VBA code of Microsoft Excel workbooks and Excel add-ins into the binary code of a native Windows DLL file.
After compilation your VBA code cannot be copied or recovered and has the highest level of protection from piracy.
VBA Compiler is the best alternative to the VBA code protection approaches, such as VBA code obfuscation or standard MS Excel VBA password protection.
The compiled workbook or Excel add-in file is left with the original file extension and behaves the same way as the original file.
Main benefits of the VBA Compiler usage
- The strongest and impenetrable VBA code protection. It is impossible to recover VBA code from a Windows DLL.
- VBA speed up. The performance of some VBA algorithms increases significantly after compilation.
- It is impossible to find, trace or copy the VBA code after compilation because it has been compiled and moved to the Windows DLL.
- To use the VBA Compiler you do not need to have knowledge of any other programming languages except VBA – Visual Basic for Application.
- The original MS Excel workbook or add-in file extension is left the same as it was before compilation.
- VBA Compiler works with the copy of the original file, and keeps the original file unchanged.
- VBA code conversion during compilation happens automatically, which means it doesn’t require any of your participation in the process.
- You do not need to select which VBA functions you need to compile – all of the VBA code methods (procedures, functions and properties) will be compiled with one mouse click on the “Compile” button.
- Compile the VBA code with copy protection along with the activation / registration key. Such compiled VBA code will not work without a registration / activation key, which only you will be able to produce.
- Create trial / demo version of your VBA code. Your customers will be able to try your workbook or Excel add-in without registration for a limited amount of days determined by you.
How the VBA Compiler works
The DoneEx VbaCompiler transforms source VBA code into C-code and, in the final stage, the C-language code is compiled into a native Windows DLL file.
During compilation, the transformation of the source VBA code goes through several stages:
Stage 1. VbaCompiler parses and analyses the source VBA code.
Stage 2. The product generates object code based on results of stage 1.
Stage 3. The product generates C-language code from the object code generated in stage 2.
Stage 4. The VbaCompiler runs a C-compiler to compile the C-language code (which was generated in Stage 3) into a Windows DLL.
Stage 5. The final stage of compilation – the VbaCompiler removes compiled VBA code from the file and generates connective VBA code where all compiled DLL functions are called instead of original VBA code.
Excerpt of the original VBA code before compilation
The same VBA code after compilation with VBA Compiler
As you can see that the content of the VBA functions is moved to the compiled DLL file and substituted by the calls of DLL functions.