Gone from the File
Your procedures leave the document as bytecode in a native DLL; what stays behind is only the glue Office needs to call them.
A VBA password is a flag and obfuscation only scrambles names; compilation takes the logic out of the file. Open the Office document you already have, review the VBA code (subs, functions and classes) that will move into the DLL, and write a protected copy whose macros keep running as before.
VBA Padlock
Turn the VBA behind your Excel, Word, PowerPoint and Access files into a native DLL, then license what you sell.
Your procedures leave the document as bytecode in a native DLL; what stays behind is only the glue Office needs to call them.
Hardware-locked keys, checked online on a server you run, and the protected file packaged with its runtime in one click from VBA Padlock Studio.
Open your file, check the Protection Review, produce the protected copy: the automatic mode moves none of your code by hand.